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">
|
2014-12-08 16:35:49 -05:00
|
|
|
<label class="control-label">{{i18n 'admin.groups.group_members'}}</label>
|
2014-04-23 13:25:02 -04:00
|
|
|
<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">
|
2014-12-08 16:35:49 -05:00
|
|
|
{{input type="checkbox" checked=visible}} {{i18n 'groups.visible'}}
|
2014-04-23 13:25:02 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
2014-12-08 16:35:49 -05:00
|
|
|
<label class="control-label">{{i18n 'groups.alias_levels.title'}}</label>
|
2014-04-23 13:25:02 -04:00
|
|
|
<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'>
|
2014-12-08 16:35:49 -05:00
|
|
|
<button {{action "save"}} {{bind-attr disabled="disableSave"}} class='btn'>{{i18n 'admin.customize.save'}}</button>
|
2014-04-23 13:25:02 -04:00
|
|
|
{{#unless automatic}}
|
2014-12-08 16:35:49 -05: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>
|