mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-23 22:11:09 +03:00
Merge pull request #5758 from cobbspur/invitecheck
Prevent invite action in step 3 of setup being triggered at wrong time
This commit is contained in:
commit
e4d689b989
@ -5,13 +5,13 @@
|
||||
|
||||
<img class="gh-flow-faces" src="{{gh-path 'admin' 'img/users.png'}}" alt="" />
|
||||
|
||||
<form class="gh-flow-invite" {{action 'invite'}}>
|
||||
<form class="gh-flow-invite">
|
||||
{{#gh-form-group errors=errors property="users"}}
|
||||
<label>Enter one email address per line, we’ll handle the rest! <i class="icon-mail"></i></label>
|
||||
{{gh-textarea name="users" value=users required="required"}}
|
||||
{{gh-textarea name="users" value=users required="required" focusOut=(action "validate")}}
|
||||
{{/gh-form-group}}
|
||||
|
||||
{{#gh-spin-button type="submit" classNameBindings=":btn :btn-default :btn-lg :btn-block buttonClass" submitting=submitting autoWidth="false"}}{{buttonText}}{{/gh-spin-button}}
|
||||
{{#gh-spin-button type="submit" action="invite" classNameBindings=":btn :btn-default :btn-lg :btn-block buttonClass" submitting=submitting autoWidth="false"}}{{buttonText}}{{/gh-spin-button}}
|
||||
</form>
|
||||
|
||||
<button class="gh-flow-skip" {{action "skipInvite"}}>
|
||||
|
Loading…
Reference in New Issue
Block a user