MDL-55417 forms: Change iscancel property to issecondary for submit buttons
[moodle.git] / theme / noname / templates / core_form / element-submit.mustache
1 {{< core_form/element-template }}
2     {{$element}}
3         <input type="submit" {{#element.frozen}}readonly{{/element.frozen}}
4                 class="btn
5                     {{^element.secondary}}btn-primary{{/element.secondary}}
6                     {{#element.secondary}}btn-secondary{{/element.secondary}}
7                     {{#error}} btn-danger {{/error}}"
8                 name="{{element.name}}"
9                 id="{{element.id}}"
10                 {{#error}}
11                     autofocus aria-describedby="id_error_{{element.name}}"
12                 {{/error}}
13                 value="{{element.value}}"
14                 {{{element.attributes}}} >
15     {{/element}}
16 {{/ core_form/element-template }}