mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05: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>
|