Ghost/ghost/admin/app/components/settings/staff/modals/select-role.hbs

18 lines
709 B
Handlebars
Raw Normal View History

<div class="modal-content" data-test-modal="select-role">
<header class="modal-header">
<h1>Change user role</h1>
</header>
<button type="button" class="close" title="Close" {{on "click" @close}}>{{svg-jar "close"}}<span class="hidden">Close</span></button>
<div class="modal-body">
<GhRoleSelection
@selected={{this.role}}
@setRole={{fn (mut this.role)}}
/>
</div>
<div class="modal-footer">
<button class="gh-btn" type="button" {{on "click" @close}}><span>Cancel</span></button>
<button class="gh-btn gh-btn-black" type="button" {{on "click" (fn @close this.role)}}><span>Change role</span></button>
</div>
</div>