mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
75faf0109d
closes #5338 - moves skip link to below the submit button - makes the submit button better represent form status - posts notifications based on success/failure of notifications - goes to the invite page after user creation - actually sends invites! functional tests passing for onboarding invitations cleanup for linitng remove unreachable return access the notifications service better use link-to instead of an anchor with an action failed user creations get caught, and bubble as errors a slew of other cleanup stuff via jason
21 lines
812 B
Handlebars
21 lines
812 B
Handlebars
<section class="gh-flow-content">
|
||
<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>
|
||
|
||
<img class="gh-flow-faces" src="{{gh-path 'admin' 'img/users.png'}}" alt="" />
|
||
|
||
<form class="gh-flow-invite">
|
||
<label>Enter one email address per line, we’ll handle the rest! <i class="icon-mail"></i></label>
|
||
{{textarea name="users" placeholder="john@example.com
|
||
sally.sanders@example.com" value=users}}
|
||
</form>
|
||
|
||
<button {{action 'invite'}} class="btn btn-default btn-lg btn-block {{buttonClass}}">
|
||
{{buttonText}}
|
||
</button>
|
||
{{#link-to "posts" class="gh-flow-skip"}}
|
||
I'll do this later, take me to my blog!
|
||
{{/link-to}}
|
||
</section>
|