MDL-65069 mod_forum: Remove unused code and additional dev docs.
[moodle.git] / lib / form / templates / element-submit.mustache
1 {{< core_form/element-template }}
2     {{$element}}
3         {{^element.frozen}}
4             <input type="submit"
5                 class="btn
6                     {{^element.customclassoverride}}
7                         {{^element.secondary}}btn-primary{{/element.secondary}}
8                         {{#element.secondary}}btn-secondary{{/element.secondary}}
9                     {{/element.customclassoverride}}
10                     {{#error}} btn-danger {{/error}}
11                     {{element.extraclasses}}
12                     {{#element.customclassoverride}}{{element.customclassoverride}}{{/element.customclassoverride}}"
13                 name="{{element.name}}"
14                 id="{{element.id}}"
15                 {{#error}}
16                     autofocus aria-describedby="id_error_{{element.name}}"
17                 {{/error}}
18                 value="{{element.value}}"
19                 {{{element.attributes}}} >
20         {{/element.frozen}}
21     {{/element}}
22 {{/ core_form/element-template }}