mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-19 08:31:43 +03:00
beb5ae1737
no issue
- This will help with the octane migration and you can still run the lint rules even when they are todos. (Checkout the docs at 158b119667/docs/todos.md
) The good news is any new code will be checked against the recommended config.
- I fixed all the auto fixable things we could get in this PR as well
41 lines
1.3 KiB
Handlebars
41 lines
1.3 KiB
Handlebars
<header>
|
||
<h1>Invite staff users</h1>
|
||
<p>Ghost works best when shared with others. Collaborate, get feedback on your posts & 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"}}>
|
||
<GhFormGroup @errors={{this.errors}} @hasValidated={{this.hasValidated}} @property="users">
|
||
<label for="users">Enter one email address per line, we’ll handle the rest! {{svg-jar "email"}}</label>
|
||
<GhTextarea
|
||
@name="users"
|
||
@required="required"
|
||
@value={{readonly this.users}}
|
||
@input={{action (mut this.users) value="target.value"}}
|
||
@focus-out={{action "validate"}}
|
||
/>
|
||
</GhFormGroup>
|
||
|
||
<GhTaskButton
|
||
@task={{this.invite}}
|
||
@type="submit"
|
||
@class="gh-btn gh-btn-default gh-btn-lg gh-btn-block {{this.buttonClass}}"
|
||
@successClass=""
|
||
@failureClass=""
|
||
as |task|
|
||
>
|
||
<span>
|
||
{{#if task.isRunning}}
|
||
{{svg-jar "spinner" class="no-margin"}}
|
||
{{else}}
|
||
{{this.buttonText}}
|
||
{{/if}}
|
||
</span>
|
||
</GhTaskButton>
|
||
</form>
|
||
|
||
<button class="gh-flow-skip" type="button" {{action "skipInvite"}}>
|
||
I'll do this later, take me to my site!
|
||
</button>
|