MDL-65069 mod_forum: Stripped out inpage form and advanced redirect
[moodle.git] / lib / form / templates / element-submit.mustache
CommitLineData
344321e1
DW
1{{< core_form/element-template }}
2 {{$element}}
63e4df60
DW
3 {{^element.frozen}}
4 <input type="submit"
344321e1 5 class="btn
ce18fb1e
DW
6 {{^element.secondary}}btn-primary{{/element.secondary}}
7 {{#element.secondary}}btn-secondary{{/element.secondary}}
344321e1 8 {{#error}} btn-danger {{/error}}"
91bda4cd
DW
9 name="{{element.name}}"
10 id="{{element.id}}"
11 {{#error}}
12 autofocus aria-describedby="id_error_{{element.name}}"
13 {{/error}}
344321e1
DW
14 value="{{element.value}}"
15 {{{element.attributes}}} >
63e4df60 16 {{/element.frozen}}
344321e1 17 {{/element}}
ce18fb1e 18{{/ core_form/element-template }}