Ghost/ghost/admin/app/templates/setup/three.hbs

35 lines
1.2 KiB
Handlebars
Raw Normal View History

<header>
<h1>Invite your team</h1>
<p>Ghost works best when shared with others. Collaborate, get feedback on your posts &amp; work together on ideas.</p>
</header>
<div><img class="gh-flow-faces" src="assets/img/users.png" alt="" /></div>
<form class="gh-flow-invite" {{action "invite" on="submit"}}>
{{#gh-form-group errors=errors hasValidated=hasValidated property="users"}}
<label for="users">Enter one email address per line, well handle the rest! {{inline-svg "email"}}</label>
{{gh-textarea users name="users" required="required" focusOut=(action "validate") update=(action (mut users))}}
{{/gh-form-group}}
{{#gh-task-button
task=invite
type="submit"
classNameBindings=":gh-btn :gh-btn-default :gh-btn-lg :gh-btn-block buttonClass"
successClass=""
failureClass=""
as |task|
}}
<span>
{{#if task.isRunning}}
{{inline-svg "spinner" class="no-margin"}}
{{else}}
{{buttonText}}
{{/if}}
</span>
{{/gh-task-button}}
</form>
<button class="gh-flow-skip" {{action "skipInvite"}}>
I'll do this later, take me to my blog!
</button>