2016-09-13 15:14:17 -04:00
|
|
|
|
|
|
|
{{#if users}}
|
2020-03-26 15:36:19 -04:00
|
|
|
<div class="users-list">
|
|
|
|
{{#each users as |user|}}
|
|
|
|
{{invite-list-user user=user roles=roles removeUser=(action "removeUser")}}
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
2016-09-13 15:14:17 -04:00
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
<div class="new-user">
|
|
|
|
<div class="text-field {{if invalid "invalid"}}">
|
2016-09-22 13:38:40 -04:00
|
|
|
{{input class="invite-email wizard-focusable" value=inviteEmail placeholder="user@example.com" tabindex="9"}}
|
2016-09-13 15:14:17 -04:00
|
|
|
</div>
|
|
|
|
|
2020-02-03 08:22:14 -05:00
|
|
|
{{combo-box
|
|
|
|
value=inviteRole
|
|
|
|
content=roles
|
|
|
|
nameProperty="label"
|
2020-10-06 17:50:05 -04:00
|
|
|
onChange=(action (mut inviteRole))
|
2020-02-03 08:22:14 -05:00
|
|
|
}}
|
2016-09-13 15:14:17 -04:00
|
|
|
|
2020-04-13 18:22:35 -04:00
|
|
|
<button type="button" class="wizard-btn small add-user" {{action "addUser"}}>
|
2017-07-26 16:25:09 -04:00
|
|
|
{{d-icon "plus"}}{{i18n "wizard.invites.add_user"}}
|
2016-09-13 15:14:17 -04:00
|
|
|
</button>
|
|
|
|
</div>
|