mirror of
https://github.com/TryGhost/Ghost-Admin.git
synced 2023-12-14 02:33:04 +01:00
Rework signin form so correct actions are fired
This commit is contained in:
parent
2baf746625
commit
d1f71bd15e
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
<div class="gh-flow">
|
||||
<div class="gh-flow-content-wrap">
|
||||
<section class="gh-flow-content">
|
||||
<form id="login" class="gh-signin" method="post" novalidate="novalidate" {{action 'validateAndAuthenticate' on='submit'}}>
|
||||
<form id="login" class="gh-signin" method="post" novalidate="novalidate" {{action "validateAndAuthenticate" on="submit"}}>
|
||||
<div class="form-group">
|
||||
<span class="input-icon icon-mail">
|
||||
{{gh-trim-focus-input class="gh-input email" type="email" placeholder="Email Address" name="identification" autocapitalize="off" autocorrect="off" tabindex="1" value=model.identification}}
|
||||
|
@ -10,10 +10,10 @@
|
|||
<div class="form-group">
|
||||
<span class="input-icon icon-lock forgotten-wrap">
|
||||
{{input class="gh-input password" type="password" placeholder="Password" name="password" tabindex="2" value=model.password}}
|
||||
<button {{action 'forgotten'}} class="forgotten-link btn btn-link" tabindex="4">Forgot?</button>
|
||||
<button type="button" {{action "forgotten"}} class="forgotten-link btn btn-link" tabindex="4">Forgot?</button>
|
||||
</span>
|
||||
</div>
|
||||
<button id="login-button" class="login btn btn-blue btn-block" type="submit" tabindex="3" {{action "validateAndAuthenticate"}} disabled={{submitting}}>Sign in</button>
|
||||
<button id="login-button" class="login btn btn-blue btn-block" type="submit" tabindex="3" disabled={{submitting}}>Sign in</button>
|
||||
</form>
|
||||
|
||||
<p class="main-error">The password fairy does not approve</p>
|
||||
|
|
Loading…
Reference in a new issue