mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-40759 pix: Use proper pix tags for required fields.
This commit is contained in:
parent
5e73ccfb38
commit
348aed801c
3 changed files with 3 additions and 3 deletions
|
@ -38,7 +38,7 @@
|
|||
{{/text}}
|
||||
</label>
|
||||
<span class="text-nowrap">
|
||||
{{#required}}<abbr class="initialism text-danger" title="{{#str}}required{{/str}}"><i class="fa fa-exclamation-circle" aria-hidden="true"></i></abbr>{{/required}}
|
||||
{{#required}}<abbr class="initialism text-danger" title="{{#str}}required{{/str}}">{{#pix}}req, core, {{#str}}required{{/str}}{{/pix}}</abbr>{{/required}}
|
||||
{{#advanced}}<abbr class="initialism text-info" title="{{#str}}advanced{{/str}}">!</abbr>{{/advanced}}
|
||||
{{{helpbutton}}}
|
||||
</span>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div class="form-group {{#error}}has-danger{{/error}} fitem {{#advanced}}advanced{{/advanced}} {{{element.extraclasses}}}">
|
||||
<label class="col-form-label {{#element.hiddenlabel}}sr-only{{/element.hiddenlabel}}" for="{{element.id}}">
|
||||
{{{label}}} {{{helpbutton}}}
|
||||
{{#required}}<abbr class="initialism text-danger" title="{{#str}}required{{/str}}"><i class="fa fa-exclamation-circle" aria-hidden="true"></i></abbr>{{/required}}
|
||||
{{#required}}<abbr class="initialism text-danger" title="{{#str}}required{{/str}}">{{#pix}}req, core, {{#str}}required{{/str}}{{/pix}}</abbr>{{/required}}
|
||||
{{#advanced}}<abbr class="initialism text-info" title="{{#str}}advanced{{/str}}">!</abbr>{{/advanced}}
|
||||
</label>
|
||||
<span data-fieldtype="{{element.type}}">
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
<div class="form-group row {{#error}}has-danger{{/error}} fitem {{#advanced}}advanced{{/advanced}} {{{element.extraclasses}}}">
|
||||
<div class="col-md-3">
|
||||
<span class="pull-xs-right text-nowrap">
|
||||
{{#required}}<abbr class="initialism text-danger" title="{{#str}}required{{/str}}"><i class="fa fa-exclamation-circle" aria-hidden="true"></i></abbr>{{/required}}
|
||||
{{#required}}<abbr class="initialism text-danger" title="{{#str}}required{{/str}}">{{#pix}}req, core, {{#str}}required{{/str}}{{/pix}}</abbr>{{/required}}
|
||||
{{#advanced}}<abbr class="initialism text-info" title="{{#str}}advanced{{/str}}">!</abbr>{{/advanced}}
|
||||
{{{helpbutton}}}
|
||||
</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue