Commit 992c5ccf authored by Damyon Wiese's avatar Damyon Wiese Committed by David Monllaó
Browse files

MDL-60526 forms: Button elements should have type

The mform "buttons" should be of type "button", instead it's not specified so they get
the default of "submit". This is causing behat fails.
parent 63469571
......@@ -5,6 +5,7 @@
class="btn btn-secondary"
name="{{element.name}}"
id="{{element.id}}"
type="button"
{{#error}}
autofocus aria-describedby="id_error_{{element.name}}"
{{/error}}
......
......@@ -5,6 +5,7 @@
class="btn btn-secondary m-l-0"
name="{{element.name}}"
id="{{element.id}}"
type="button"
{{#error}}
autofocus aria-describedby="id_error_{{element.name}}"
{{/error}}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment