2014-12-14 21:29:11 +00:00
|
|
|
{{#gh-modal-dialog action="closeModal" showClose=true type="action"
|
2014-07-23 06:13:20 +00:00
|
|
|
title="Invite a New User" confirm=confirm class="invite-new-user"}}
|
2014-07-05 04:06:10 -04:00
|
|
|
|
2015-07-09 12:10:00 -05:00
|
|
|
<fieldset>
|
2015-09-02 22:10:51 +01:00
|
|
|
{{#gh-form-group errors=errors hasValidated=hasValidated property="email"}}
|
2015-07-09 12:10:00 -05:00
|
|
|
<label for="new-user-email">Email Address</label>
|
2015-09-02 22:10:51 +01:00
|
|
|
{{gh-input enter="confirmAccept" class="email" id="new-user-email" type="email" placeholder="Email Address" name="email" autofocus="autofocus"
|
|
|
|
autocapitalize="off" autocorrect="off" value=email focusOut=(action "validate" "email")}}
|
|
|
|
{{gh-error-message errors=errors property="email"}}
|
|
|
|
{{/gh-form-group}}
|
2014-07-07 15:37:50 +01:00
|
|
|
|
2015-07-09 12:10:00 -05:00
|
|
|
<div class="form-group for-select">
|
|
|
|
<label for="new-user-role">Role</label>
|
|
|
|
<span class="gh-select" tabindex="0">
|
|
|
|
{{gh-select-native id="new-user-role"
|
|
|
|
content=roles
|
|
|
|
optionValuePath="id"
|
|
|
|
optionLabelPath="name"
|
|
|
|
selection=role
|
|
|
|
action="setRole"
|
|
|
|
}}
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
2014-07-05 04:06:10 -04:00
|
|
|
|
|
|
|
{{/gh-modal-dialog}}
|