MDL-55417 forms: Render form elements with a template
[moodle.git] / theme / noname / templates / core_form / element-submit.mustache
CommitLineData
91bda4cd
DW
1<div class="form-group row">
2 <label class="col-md-3 col-form-label {{#element.hideLabel}}sr-only{{/element.hideLabel}}" for="{{element.id}}">
3 {{{label}}} {{{helpbutton}}}
4 </label>
5 <div class="col-md-9 form-inline">
6 <input type="submit" {{#element.frozen}}readonly{{/element.frozen}}
7 class="btn {{^iscancel}}btn-primary{{/iscancel}}{{#iscancel}}btn-secondary{{/iscancel}} m-l-0"
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 </div>
15</div>