mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 19:52:01 +03:00
b6a429ec35
Closes #2976, Closes #3017 - Move logic to signup controller - Add ValidationEngine mixin to signup controller - Add signup validator with code from clientold login view - Add signin validator and integrate into signin controller - Add validation to forgotten controller - Switch to button action to support hitting enter in text field to submit - Clear all notifications in notifications.closeAll - Modify ValidationEngine.validate to not format errors based on option - Update casper test for signin to wait for notification before trying to do another signin
15 lines
809 B
Handlebars
15 lines
809 B
Handlebars
<section class="signup-box js-signup-box fade-in">
|
|
<form id="signup" class="signup-form" method="post" novalidate="novalidate">
|
|
<div class="name-wrap">
|
|
{{input class="name" type="text" placeholder="Full Name" name="name" autofocus="autofocus" autocorrect="off" value=name }}
|
|
</div>
|
|
<div class="email-wrap">
|
|
{{input class="email" type="email" placeholder="Email Address" name="email" autocapitalize="off" autocorrect="off" value=email }}
|
|
</div>
|
|
<div class="password-wrap">
|
|
{{input class="password" type="password" placeholder="Password" name="password" value=password }}
|
|
</div>
|
|
<button class="button-save" type="submit" {{action "signup"}} {{bind-attr disabled=submitting}}>Sign Up</button>
|
|
</form>
|
|
</section>
|