mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
42166c8d9f
- Refactor to handle deprecations including removal of all Views, ArrayControllers, and ItemControllers.
14 lines
402 B
Handlebars
14 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>
|