mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
15 lines
402 B
Handlebars
15 lines
402 B
Handlebars
|
<select {{action "change" on="change"}}>
|
||
|
{{#if prompt}}
|
||
|
<option disabled selected={{is-not selection}}>
|
||
|
{{prompt}}
|
||
|
</option>
|
||
|
{{/if}}
|
||
|
|
||
|
{{#each content as |item|}}
|
||
|
<option value="{{read-path item optionValuePath}}"
|
||
|
selected={{is-equal item selection}}>
|
||
|
{{read-path item optionLabelPath}}
|
||
|
</option>
|
||
|
{{/each}}
|
||
|
</select>
|