mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-20 20:42:44 -05:00
30 lines
1 KiB
Handlebars
30 lines
1 KiB
Handlebars
|
{{#if automatic}}
|
||
|
<h3>{{name}}</h3>
|
||
|
{{else}}
|
||
|
{{textField value=name placeholderKey="admin.groups.name_placeholder"}}
|
||
|
{{/if}}
|
||
|
|
||
|
<div class="control-group">
|
||
|
<label class="control-label">{{i18n admin.groups.group_members}}</label>
|
||
|
<div class="controls">
|
||
|
{{userSelector usernames=usernames id="group-users" placeholderKey="admin.groups.selector_placeholder" tabindex="1" disabled=automatic}}
|
||
|
</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">
|
||
|
{{combobox valueAttribute="value" value=alias_level content=aliasLevelOptions}}
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class='controls'>
|
||
|
<button {{action save}} {{bind-attr disabled="disableSave"}} class='btn'>{{i18n admin.customize.save}}</button>
|
||
|
{{#unless automatic}}
|
||
|
<a {{action destroy}} class='delete-link'>{{i18n admin.customize.delete}}</a>
|
||
|
{{/unless}}
|
||
|
</div>
|