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.
This commit is contained in:
Damyon Wiese
2017-11-22 13:25:31 +01:00
committed by David Monllao
parent abe62e33e6
commit 78731d0b96
2 changed files with 2 additions and 0 deletions
@@ -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}}