mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-18 03:25:31 -05:00
20 lines
561 B
Handlebars
20 lines
561 B
Handlebars
|
|
{{#if users}}
|
|
<div class="users-list">
|
|
{{#each users as |user|}}
|
|
{{invite-list-user user=user roles=roles removeUser="removeUser"}}
|
|
{{/each}}
|
|
</div>
|
|
{{/if}}
|
|
|
|
<div class="new-user">
|
|
<div class="text-field {{if invalid 'invalid'}}">
|
|
{{input class="invite-email" value=inviteEmail placeholder="user@example.com"}}
|
|
</div>
|
|
|
|
{{combo-box value=inviteRole content=roles nameProperty="label" width="200px"}}
|
|
|
|
<button class="wizard-btn small add-user" {{action "addUser"}}>
|
|
{{fa-icon "plus"}}{{i18n "wizard.invites.add_user"}}
|
|
</button>
|
|
</div>
|