MDL-55417 forms: Change iscancel property to issecondary for submit buttons
[moodle.git] / theme / noname / templates / core_form / element-template-inline.mustache
CommitLineData
344321e1
DW
1<div class="form-group {{#error}}has-danger{{/error}}">
2 <label class="col-form-label {{#element.hiddenlabel}}sr-only{{/element.hiddenlabel}}" for="{{element.id}}">
3 {{{label}}} {{{helpbutton}}}
4 </label>
5 {{$ element }}
6 <!-- Element goes here -->
7 {{/ element }}
8 <div class="form-control-feedback" id="id_error_{{element.name}}" {{^error}} style="display: none;"{{/error}}>
9 {{{error}}}
10 </div>
11</div>
12{{#js}}
4691b2d0
DW
13require(['theme_noname/form-display-errors'], function(module) {
14 module.enhance({{#quote}}{{element.id}}{{/quote}});
344321e1
DW
15});
16{{/js}}