mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 10:21:36 +03:00
feac9682d0
- Refactor to handle deprecations including removal of all Views, ArrayControllers, and ItemControllers.
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>
|