Ghost/ghost/admin/app/templates/components/gh-timezone-select.hbs
Kevin Ansfield c296437366 replace gh-select-native with one-way-select (#286)
no issue
- removes `gh-select-native` component as ember-one-way-control's `one-way-select` component offers the same one-way-binding but also allows element attributes to be set
2016-09-26 11:39:43 -05:00

17 lines
565 B
Handlebars

<label for="activeTimezone">Timezone</label>
<span class="gh-select" data-select-text="{{selectedTimezone.label}}" tabindex="0">
{{one-way-select
id="activeTimezone"
name="general[activeTimezone]"
options=selectableTimezones
optionValuePath="name"
optionLabelPath="label"
value=selectedTimezone
update=(action "setTimezone")
}}
</span>
{{#if hasTimezoneOverride}}
<p>Your timezone has been automatically set to {{activeTimezone}}.</p>
{{/if}}
<p>The local time here is currently {{localTime}}</p>