2015-07-16 17:12:03 +03:00
<header>
<h1>Create your account</h1>
</header>
2015-03-29 21:10:53 +03:00
2015-07-16 17:12:03 +03:00
<form id="setup" class="gh-flow-create">
{{!-- Horrible hack to prevent Chrome from incorrectly auto-filling inputs --}}
<input style="display:none;" type="text" name="fakeusernameremembered"/>
<input style="display:none;" type="password" name="fakepasswordremembered"/>
2015-03-29 21:10:53 +03:00
2015-08-26 16:23:14 +03:00
{{ gh-profile-image fileStorage = config .fileStorage email = validEmail setImage = "setImage" }}
2015-08-27 23:28:41 +03:00
{{ # gh-form-group errors = errors hasValidated = hasValidated property = "email" }}
2015-08-26 16:23:14 +03:00
<label for="email-address">Email address</label>
<span class="input-icon icon-mail">
2015-08-27 22:49:36 +03:00
{{ gh-trim-focus-input tabindex = "1" type = "email" name = "email" placeholder = "Eg. john@example.com" autocorrect = "off" value = email focusOut = ( action "preValidate" "email" ) }}
2015-08-26 16:23:14 +03:00
</span>
{{ gh-error-message errors = errors property = "email" }}
{{ / gh-form-group }}
2015-08-27 23:28:41 +03:00
{{ # gh-form-group errors = errors hasValidated = hasValidated property = "name" }}
2015-08-26 16:23:14 +03:00
<label for="full-name">Full name</label>
<span class="input-icon icon-user">
2015-08-27 22:49:36 +03:00
{{ gh-input tabindex = "2" type = "text" name = "name" placeholder = "Eg. John H. Watson" autocorrect = "off" value = name focusOut = ( action "preValidate" "name" ) }}
2015-08-26 16:23:14 +03:00
</span>
{{ gh-error-message errors = errors property = "name" }}
{{ / gh-form-group }}
2015-08-27 23:28:41 +03:00
{{ # gh-form-group errors = errors hasValidated = hasValidated property = "password" }}
2015-08-26 16:23:14 +03:00
<label for="password">Password</label>
<span class="input-icon icon-lock">
2015-08-27 22:49:36 +03:00
{{ gh-input tabindex = "3" type = "password" name = "password" placeholder = "At least 8 characters" autocorrect = "off" value = password focusOut = ( action "preValidate" "password" ) }}
2015-08-26 16:23:14 +03:00
</span>
{{ gh-error-message errors = errors property = "password" }}
{{ / gh-form-group }}
2015-08-27 23:28:41 +03:00
{{ # gh-form-group errors = errors hasValidated = hasValidated property = "blogTitle" }}
2015-08-26 16:23:14 +03:00
<label for="blog-title">Blog title</label>
<span class="input-icon icon-content">
2015-08-27 22:49:36 +03:00
{{ gh-input tabindex = "4" type = "text" name = "blog-title" placeholder = "Eg. The Daily Awesome" autocorrect = "off" value = blogTitle focusOut = ( action "preValidate" "blogTitle" ) }}
2015-08-26 16:23:14 +03:00
</span>
{{ gh-error-message errors = errors property = "blogTitle" }}
{{ / gh-form-group }}
{{ # gh-spin-button type = "submit" tabindex = "5" class = "btn btn-green btn-lg btn-block" action = "setup" submitting = submitting autoWidth = "false" }}
Last step: Invite your team <i class="icon-chevron"></i>
{{ / gh-spin-button }}
</form>
2015-08-10 20:45:50 +03:00
<p class="main-error"> {{{ flowErrors }}} </p>