mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 19:08:10 -05:00
d2596c3c4c
boolean to avoid locking yourself out by setting access_password to empty string. Minor UI tweaks.
19 lines
No EOL
657 B
Handlebars
19 lines
No EOL
657 B
Handlebars
{{#with view.content}}
|
|
<div class='span4 offset1'>
|
|
<h3>{{unbound setting}}</h3>
|
|
</div>
|
|
<div class="span11">
|
|
{{view Ember.TextField valueBinding="value" classNames="input-xxlarge"}}
|
|
<div class='desc'>{{unbound description}}</div>
|
|
</div>
|
|
{{#if dirty}}
|
|
<div class='span3'>
|
|
<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}}
|
|
{{/with}} |