mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 02:11:44 +03:00
972831c733
Closes #3079 - new controller and template for invite-new-user-modal - actually triggers email invite via POST /ghost/api/v0.1/users/ - setting default language value (on the client) when creating a user - only available role is "Author" - pending 3196 - updates to UsersIndexController to allow dynamic property calculation and template rending
18 lines
829 B
Handlebars
18 lines
829 B
Handlebars
{{#gh-modal-dialog action="closeModal" showClose=true type="action" animation="fade"
|
|
title="Invite a New User" confirm=confirm class="invite-new-user" }}
|
|
|
|
<fieldset>
|
|
<div class="form-group">
|
|
<label for="new-user-email"">Email Address</label>
|
|
{{input class="email" id="new-user-email" type="email" placeholder="Email Address" name="email" autofocus="autofocus"
|
|
autocapitalize="off" autocorrect="off" value=email }}
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="new-user-role">Role</label>
|
|
{{view Ember.Select content=roles id="new-user-role" optionValuePath="content.id" optionLabelPath="content.name" name="role"
|
|
value=role}}
|
|
</div>
|
|
</fieldset>
|
|
|
|
{{/gh-modal-dialog}}
|