discourse/app/assets/javascripts/admin/templates/site_settings/setting_string.js.handlebars

18 lines
600 B
Handlebars
Raw Normal View History

<div class='setting-label'>
<h3>{{unbound setting}}</h3>
</div>
<div class="setting-value">
{{textField value=value classNames="input-setting-string"}}
<div class='desc'>{{unbound description}}</div>
</div>
{{#if dirty}}
<div class='setting-controls'>
2013-12-09 16:27:49 -05:00
<button class='btn ok' {{action save this}}><i class='fa fa-check'></i></button>
<button class='btn cancel' {{action cancel this}}><i class='fa fa-times'></i></button>
</div>
{{else}}
{{#if overridden}}
<button class='btn' href='#' {{action resetDefault this}}>{{i18n admin.site_settings.reset}}</button>
{{/if}}
{{/if}}