mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
a7a5fe8cd3
Refs #5501 - Switch role select dropdowns from gh-select based components to gh-select-native. - Prevent transition out of editor while there is an in-flight save.
26 lines
975 B
Handlebars
26 lines
975 B
Handlebars
{{#gh-modal-dialog action="closeModal" showClose=true type="action"
|
|
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 enter="confirmAccept" class="gh-input 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 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>
|
|
|
|
{{/gh-modal-dialog}}
|