mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 01:42:29 +03:00
ff69766442
closes TryGhost/Ghost#9506
27 lines
1.0 KiB
Handlebars
27 lines
1.0 KiB
Handlebars
<header class="modal-header">
|
|
<h1>Please re-authenticate</h1>
|
|
</header>
|
|
<a class="close" href="" title="Close" {{action "closeModal"}}>{{svg-jar "close"}}<span class="hidden">Close</span></a>
|
|
|
|
<div class="modal-body {{if authenticationError 'error'}}">
|
|
|
|
<form id="login" class="login-form" method="post" novalidate="novalidate" {{action "confirm" on="submit"}}>
|
|
{{#gh-validation-status-container class="password-wrap" errors=errors property="password" hasValidated=hasValidated}}
|
|
{{gh-text-input
|
|
class="password"
|
|
type="password"
|
|
placeholder="Password"
|
|
name="password"
|
|
value=(readonly password)
|
|
input=(action (mut password) value="target.value")}}
|
|
{{/gh-validation-status-container}}
|
|
<div>
|
|
{{gh-task-button "Log in" task=reauthenticate class="gh-btn gh-btn-blue gh-btn-icon" type="submit"}}
|
|
</div>
|
|
</form>
|
|
|
|
{{#if authenticationError}}
|
|
<p class="response">{{authenticationError}}</p>
|
|
{{/if}}
|
|
</div>
|