MDL-68146 forms: remove duped help and advanced icons in checkboxes
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 10 Mar 2020 21:59:36 +0000 (22:59 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 10 Mar 2020 21:59:36 +0000 (22:59 +0100)
They are exceptionally shown later, after the checkbox text already.

This is a fix for the regression introduced by MDL-63424.

lib/form/templates/element-checkbox.mustache

index e83e494..0e5e186 100644 (file)
@@ -2,8 +2,6 @@
     <div class="col-md-3">
         <span class="float-sm-right text-nowrap">
             {{#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>
         {{#text}}
             <label for="{{element.id}}">