mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 03:12:54 +03:00
42166c8d9f
- 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>
|