2014-04-23 13:25:02 -04:00
|
|
|
{{#if automatic}}
|
|
|
|
<h3>{{name}}</h3>
|
|
|
|
{{else}}
|
2014-06-10 11:54:38 -04:00
|
|
|
{{text-field value=name placeholderKey="admin.groups.name_placeholder"}}
|
2014-04-23 13:25:02 -04:00
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
<div class="control-group">
|
|
|
|
<label class="control-label">{{i18n admin.groups.group_members}}</label>
|
|
|
|
<div class="controls">
|
2014-06-10 11:54:38 -04:00
|
|
|
{{user-selector usernames=usernames id="group-users" placeholderKey="admin.groups.selector_placeholder" tabindex="1" disabled=automatic}}
|
2014-04-23 13:25:02 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
|
|
|
{{input type="checkbox" checked=visible}} {{i18n groups.visible}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<label class="control-label">{{i18n groups.alias_levels.title}}</label>
|
|
|
|
<div class="controls">
|
2014-06-11 10:57:30 -04:00
|
|
|
{{combo-box valueAttribute="value" value=alias_level content=aliasLevelOptions}}
|
2014-04-23 13:25:02 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class='controls'>
|
|
|
|
<button {{action save}} {{bind-attr disabled="disableSave"}} class='btn'>{{i18n admin.customize.save}}</button>
|
|
|
|
{{#unless automatic}}
|
2014-09-12 04:44:40 -04:00
|
|
|
<button {{action destroy}} class='btn btn-danger'><i class="fa fa-trash-o"></i>{{i18n admin.customize.delete}}</button>
|
2014-04-23 13:25:02 -04:00
|
|
|
{{/unless}}
|
|
|
|
</div>
|