Merge branch 'MDL-73990-master' of https://github.com/sharidas/moodle
[moodle.git] / lib / form / templates / element-button.mustache
blobc3e29cdfb06d108e28e58d0b835eba9b14469e77
1 {{< core_form/element-template }}
2     {{$element}}
3         {{^element.frozen}}
4         <button
5                 class="btn btn-secondary ml-0"
6                 name="{{element.name}}"
7                 id="{{element.id}}"
8                 type="button"
9                 {{#error}}
10                     autofocus aria-describedby="{{element.iderror}}"
11                 {{/error}}
12                 {{{element.attributes}}}>
13                 {{{element.value}}}
14                 </button>
15         {{/element.frozen}}
16     {{/element}}
17 {{/ core_form/element-template }}