2015-07-16 17:12:03 +03:00
|
|
|
|
<header>
|
|
|
|
|
<h1>Invite your team</h1>
|
|
|
|
|
<p>Ghost works best when shared with others. Collaborate, get feedback on your posts & work together on ideas.</p>
|
|
|
|
|
</header>
|
2015-03-29 21:10:53 +03:00
|
|
|
|
|
2017-04-05 16:08:15 +03:00
|
|
|
|
<div><img class="gh-flow-faces" src="assets/img/users.png" alt="" /></div>
|
2015-03-29 21:10:53 +03:00
|
|
|
|
|
2017-04-19 13:27:32 +03:00
|
|
|
|
<form class="gh-flow-invite" {{action "invite" on="submit"}}>
|
2015-08-27 23:28:41 +03:00
|
|
|
|
{{#gh-form-group errors=errors hasValidated=hasValidated property="users"}}
|
2017-04-07 18:23:45 +03:00
|
|
|
|
<label for="users">Enter one email address per line, we’ll handle the rest! {{inline-svg "email"}}</label>
|
2016-06-18 14:44:23 +03:00
|
|
|
|
{{gh-textarea users name="users" required="required" focusOut=(action "validate") update=(action (mut users))}}
|
2015-08-27 11:41:24 +03:00
|
|
|
|
{{/gh-form-group}}
|
2015-03-29 21:10:53 +03:00
|
|
|
|
|
2017-04-19 13:27:32 +03:00
|
|
|
|
{{#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}}
|
2015-08-27 11:41:24 +03:00
|
|
|
|
</form>
|
2015-08-10 18:43:49 +03:00
|
|
|
|
|
2015-08-10 07:40:27 +03:00
|
|
|
|
<button class="gh-flow-skip" {{action "skipInvite"}}>
|
2015-07-16 17:12:03 +03:00
|
|
|
|
I'll do this later, take me to my blog!
|
2015-08-10 07:40:27 +03:00
|
|
|
|
</button>
|