mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 21:33:24 +03:00
c296437366
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
17 lines
565 B
Handlebars
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>
|