mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 18:01:36 +03:00
15 lines
714 B
Handlebars
15 lines
714 B
Handlebars
<div class="gh-stack-item {{if (eq @index 0) "gh-setting-first" "gh-setting"}}">
|
|
<div class="flex-grow-1">
|
|
<div class="flex justify-between items-center relative">
|
|
<span class="gh-setting-title" for={{this.checkboxId}}>
|
|
{{humanize-setting-key @setting.key}}
|
|
</span>
|
|
<div class="for-switch x-small">
|
|
<label for={{this.checkboxId}} class="switch">
|
|
<input type="checkbox" class="gh-input" id={{this.checkboxId}} checked={{@setting.value}} {{on "input" this.toggleValue}}>
|
|
<span class="input-toggle-component mt1"></span>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |