mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-11 00:02:05 -05:00
17 lines
596 B
Handlebars
17 lines
596 B
Handlebars
<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'>
|
|
<button class='btn ok' {{action save this}}><i class='icon-ok'></i></button>
|
|
<button class='btn cancel' {{action cancel this}}><i class='icon-remove'></i></button>
|
|
</div>
|
|
{{else}}
|
|
{{#if overridden}}
|
|
<button class='btn' href='#' {{action resetDefault this}}>{{i18n admin.site_settings.reset}}</button>
|
|
{{/if}}
|
|
{{/if}}
|