mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 10:21:36 +03:00
72156c7f89
fixes #3072 - Change router to handle /ember/setup/ - Adjust doSignup to also handle setup - Adjust tests and add new where necessary - Add setup controller, setup validation, setup route - Adjust casper emberSetup to handle new setup
33 lines
1.6 KiB
Handlebars
33 lines
1.6 KiB
Handlebars
<section class="setup-box js-setup-box">
|
|
<div class="vertical">
|
|
<form id="setup" class="setup-form" method="post" novalidate="novalidate">
|
|
<header>
|
|
<h1>Welcome to your new Ghost blog</h1>
|
|
<h2>Let's get a few things set up so you can get started.</h2>
|
|
</header>
|
|
<div class="form-group">
|
|
<label for="blog-title">Blog Title</label>
|
|
{{input type="text" name="blog-title" autofocus="autofocus" autocorrect="off" value=blogTitle }}
|
|
<p>What would you like to call your blog?</p>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="name">Full Name</label>
|
|
{{input type="text" name="name" autofocus="autofocus" autocorrect="off" value=name }}
|
|
<p>The name that you will sign your posts with</p>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="email">Email Address</label>
|
|
{{input type="email" name="email" autofocus="autofocus" autocorrect="off" value=email }}
|
|
<p>Used for important notifications</p>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="password">Password</label>
|
|
{{input type="password" name="password" autofocus="autofocus" autocorrect="off" value=password }}
|
|
<p>Must be at least 8 characters</p>
|
|
</div>
|
|
<footer>
|
|
<button class="button-add large" {{action "setup"}} {{bind-attr disabled=submitting}}>Ok, Let's Do This</button>
|
|
</footer>
|
|
</form>
|
|
</div>
|
|
</section> |