Skip to content

Commit

Permalink
Merge branch 'MDL-59749-master' of git://github.com/ryanwyllie/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Aug 8, 2017
2 parents ca84ba0 + 0a501e1 commit c036256
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lib/form/templatable_form_element.php
Expand Up @@ -78,7 +78,6 @@ public function export_for_template(renderer_base $output) {
$otherattributes[] = $attr . '="' . s($value) . '"';
}
}
$context['name'] = $context['name'] ?: $this->getName();
$context['extraclasses'] = $extraclasses;
$context['type'] = $this->getType();
$context['attributes'] = implode(' ', $otherattributes);
Expand Down
Expand Up @@ -4,7 +4,7 @@
{{#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 id="{{element.id}}" data-fieldtype="{{element.type}}">
<span data-fieldtype="{{element.type}}">
{{$ element }}
<!-- Element goes here -->
{{/ element }}
Expand Down

0 comments on commit c036256

Please sign in to comment.