MDL-55607 theme_noname: Remove icon styles - We only need .icon everywhere.
[moodle.git] / theme / noname / templates / core_form / element-template.mustache
CommitLineData
bffc0ef1 1<div class="form-group row {{#error}}has-danger{{/error}} fitem">
344321e1
DW
2 <label class="col-md-3 col-form-label {{#element.hiddenlabel}}sr-only{{/element.hiddenlabel}}" for="{{element.id}}">
3 {{{label}}} {{{helpbutton}}}
4 </label>
c1d6e95b 5 <div class="col-md-9 form-inline felement">
344321e1
DW
6 {{$ element }}
7 <!-- Element goes here -->
8 {{/ element }}
9 <div class="form-control-feedback" id="id_error_{{element.name}}" {{^error}} style="display: none;"{{/error}}>
10 {{{error}}}
11 </div>
12 </div>
13</div>
14{{#js}}
4691b2d0
DW
15require(['theme_noname/form-display-errors'], function(module) {
16 module.enhance({{#quote}}{{element.id}}{{/quote}});
344321e1 17});
bffc0ef1 18{{/js}}