2013-11-15 15:22:42 -05:00
|
|
|
<div class='setting-label'>
|
2014-04-03 16:07:59 -04:00
|
|
|
<h3>{{unbound settingName}}</h3>
|
2013-07-24 17:15:21 -04:00
|
|
|
</div>
|
2013-11-15 15:22:42 -05:00
|
|
|
<div class="setting-value">
|
2014-06-10 11:54:38 -04:00
|
|
|
{{text-field value=value classNames="input-setting-string"}}
|
2014-06-09 15:17:36 -04:00
|
|
|
<div {{bind-attr class=":validation-error validationMessage::hidden"}}><i class='fa fa-times'></i> {{validationMessage}}</div>
|
2013-07-24 17:15:21 -04:00
|
|
|
<div class='desc'>{{unbound description}}</div>
|
|
|
|
</div>
|
|
|
|
{{#if dirty}}
|
2013-11-15 15:22:42 -05:00
|
|
|
<div class='setting-controls'>
|
2014-09-30 16:04:04 -04:00
|
|
|
<button class='btn ok no-text' {{action "save" this}}><i class='fa fa-check'></i></button>
|
|
|
|
<button class='btn cancel no-text' {{action "cancel" this}}><i class='fa fa-times'></i></button>
|
2013-03-01 12:45:25 -05:00
|
|
|
</div>
|
2013-07-24 17:15:21 -04:00
|
|
|
{{else}}
|
|
|
|
{{#if overridden}}
|
2014-09-30 16:04:04 -04:00
|
|
|
<button class='btn' href='#' {{action "resetDefault" this}}><i class="fa fa-undo"></i>{{i18n admin.site_settings.reset}}</button>
|
2013-03-01 12:45:25 -05:00
|
|
|
{{/if}}
|
2013-07-24 17:15:21 -04:00
|
|
|
{{/if}}
|