MDL-55657 theme_noname: Re-use the password template.
Part of MDL-55071
This commit is contained in:
committed by
Dan Poltawski
parent
2c3a6e2479
commit
fa02f6e6bf
@@ -1,17 +1,4 @@
|
||||
{{< core_form/element-template }}
|
||||
{{$element}}
|
||||
<input type="password"
|
||||
{{#element.frozen}}readonly{{/element.frozen}}
|
||||
class="form-control {{#error}}form-control-danger{{/error}}"
|
||||
name="{{element.name}}"
|
||||
id="{{element.id}}"
|
||||
value="{{element.value}}"
|
||||
size="{{element.size}}"
|
||||
{{#error}}
|
||||
autofocus aria-describedby="id_error_{{element.name}}"
|
||||
{{/error}} {{{attributes}}}>
|
||||
{{/element}}
|
||||
{{/ core_form/element-template }}
|
||||
{{> core_form/element-password }}
|
||||
{{#js}}
|
||||
require(['core/yui'], function(Y) {
|
||||
Y.use('moodle-form-passwordunmask', function() {
|
||||
|
||||
Reference in New Issue
Block a user