2015-05-17 15:31:54 +03:00
<div class="gh-flow">
2014-07-30 19:04:03 +04:00
2015-05-17 15:31:54 +03:00
<div class="gh-flow-content-wrap">
<section class="gh-flow-content">
2014-07-17 15:34:40 +04:00
<header>
2015-05-17 15:31:54 +03:00
<h1>Create your account</h1>
2014-07-17 15:34:40 +04:00
</header>
2015-05-17 15:31:54 +03:00
<form id="signup" class="gh-flow-create" method="post" novalidate="novalidate">
{{!-- Hack to stop Chrome's broken auto-fills --}}
<input style="display:none;" type="text" name="fakeusernameremembered"/>
<input style="display:none;" type="password" name="fakepasswordremembered"/>
2015-09-06 18:03:49 +03:00
{{ gh-profile-image fileStorage = config .fileStorage email = model .email setImage = "setImage" }}
2016-07-22 16:36:50 +03:00
{{ # gh-form-group }}
2015-05-17 15:31:54 +03:00
<label for="email-address">Email address</label>
<span class="input-icon icon-mail">
2016-07-22 16:36:50 +03:00
{{ gh-input model .email type = "email" name = "email" placeholder = "Eg. john@example.com" disabled = "disabled" autocorrect = "off" }}
2015-05-17 15:31:54 +03:00
</span>
2015-07-07 20:14:23 +03:00
{{ / gh-form-group }}
2016-07-22 16:36:50 +03:00
2015-08-27 23:28:41 +03:00
{{ # gh-form-group errors = model .errors hasValidated = hasValidated property = "name" }}
2015-05-17 15:31:54 +03:00
<label for="full-name">Full name</label>
<span class="input-icon icon-user">
2016-07-22 16:36:50 +03:00
{{ gh-trim-focus-input model .name tabindex = "1" type = "text" name = "name" placeholder = "Eg. John H. Watson" onenter = ( action "signup" ) autocorrect = "off" focusOut = ( action "validate" "name" ) update = ( action ( mut model .name ) ) }}
2015-05-17 15:31:54 +03:00
</span>
2015-07-07 20:14:23 +03:00
{{ gh-error-message errors = model .errors property = "name" }}
{{ / gh-form-group }}
2016-07-22 16:36:50 +03:00
2015-08-27 23:28:41 +03:00
{{ # gh-form-group errors = model .errors hasValidated = hasValidated property = "password" }}
2015-05-17 15:31:54 +03:00
<label for="password">Password</label>
<span class="input-icon icon-lock">
2016-07-22 16:36:50 +03:00
{{ gh-input model .password tabindex = "2" type = "password" name = "password" placeholder = "At least 8 characters" onenter = ( action "signup" ) autocorrect = "off" focusOut = ( action "validate" "password" ) update = ( action ( mut model .password ) ) }}
2015-05-17 15:31:54 +03:00
</span>
2015-07-07 20:14:23 +03:00
{{ gh-error-message errors = model .errors property = "password" }}
{{ / gh-form-group }}
2015-05-17 15:31:54 +03:00
</form>
2015-08-25 23:15:59 +03:00
{{ # gh-spin-button tabindex = "3" type = "submit" class = "btn btn-green btn-lg btn-block" action = "signup" submitting = submitting autoWidth = "false" }} Create Account {{ / gh-spin-button }}
2015-08-10 20:45:50 +03:00
<p class="main-error"> {{{ flowErrors }}} </p>
2015-05-17 15:31:54 +03:00
</section>
2014-07-17 15:34:40 +04:00
</div>
2015-05-17 15:31:54 +03:00
</div>