MDL-55417 forms: Change iscancel property to issecondary for submit buttons
[moodle.git] / theme / noname / templates / core_form / element-template-inline.mustache
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}}
13 require(['theme_noname/form-display-errors'], function(module) {
14     module.enhance({{#quote}}{{element.id}}{{/quote}});
15 });
16 {{/js}}