Browse Source

Alterações width

MOODLE_36_STABLE
thiagourias 6 years ago
parent
commit
af8ed07a7b
  1. 2
      templates/core_form/element-static.mustache
  2. 4
      templates/core_form/element-template.mustache

2
templates/core_form/element-static.mustache

@ -37,7 +37,7 @@
}} }}
{{< core_form/element-template }} {{< core_form/element-template }}
{{$element}} {{$element}}
<div class="form-control-static"> <div class="form-control-static" style="width: 100% !important;">
{{{element.html}}} {{{element.html}}}
</div> </div>
{{/element}} {{/element}}

4
templates/core_form/element-template.mustache

@ -62,7 +62,9 @@
</div> </div>
<div class="col-md-9 form-inline felement" data-fieldtype="{{element.type}}"> <div class="col-md-9 form-inline felement" data-fieldtype="{{element.type}}">
{{$ element }} {{$ element }}
<!-- Element goes here --> <div style="width: 100% !important;">
<!-- Element goes here -->
</div>
{{/ element }} {{/ element }}
<div class="form-control-feedback invalid-feedback" id="id_error_{{element.name}}" {{#error}} style="display: block;"{{/error}}> <div class="form-control-feedback invalid-feedback" id="id_error_{{element.name}}" {{#error}} style="display: block;"{{/error}}>
{{{error}}} {{{error}}}

Loading…
Cancel
Save