| 1 |
efrain |
1 |
{{< core_form/element-template-inline }}
|
|
|
2 |
{{$element}}
|
|
|
3 |
{{^element.frozen}}
|
|
|
4 |
<select class="form-control custom-select {{#error}}is-invalid{{/error}}" name="{{element.name}}"
|
|
|
5 |
id="{{element.id}}"
|
|
|
6 |
{{#element.multiple}}multiple{{/element.multiple}}
|
|
|
7 |
{{#element.size}}size="{{element.size}}"{{/element.size}}
|
|
|
8 |
{{#error}}
|
|
|
9 |
autofocus aria-describedby="{{element.iderror}}"
|
|
|
10 |
{{/error}}
|
|
|
11 |
{{#required}}
|
|
|
12 |
aria-required="true"
|
|
|
13 |
{{/required}}
|
|
|
14 |
{{{element.attributes}}} >
|
|
|
15 |
{{#element.optiongroups}}
|
|
|
16 |
{{#text}}
|
|
|
17 |
<optgroup label="{{text}}">
|
|
|
18 |
{{/text}}
|
|
|
19 |
{{#options}}
|
|
|
20 |
<option value="{{value}}" {{#selected}}selected{{/selected}} {{#disabled}}disabled{{/disabled}} {{{optionattributes}}}>{{{text}}}</option>
|
|
|
21 |
{{/options}}
|
|
|
22 |
{{#text}}
|
|
|
23 |
</optgroup>
|
|
|
24 |
{{/text}}
|
|
|
25 |
{{/element.optiongroups}}
|
|
|
26 |
</select>
|
|
|
27 |
{{/element.frozen}}
|
|
|
28 |
{{#element.frozen}}
|
|
|
29 |
{{#element.optiongroups}}
|
|
|
30 |
{{#options}}
|
|
|
31 |
{{#selected}}{{{text}}}{{/selected}}
|
|
|
32 |
{{/options}}
|
|
|
33 |
{{/element.optiongroups}}
|
|
|
34 |
{{/element.frozen}}
|
|
|
35 |
{{/element}}
|
|
|
36 |
{{/ core_form/element-template-inline }}
|