Added name field to signup, removed "I agree to terms"

This commit is contained in:
Sahat Yalkabov
2013-12-20 16:30:38 -05:00
parent 30a610be2c
commit cd9b190d16
2 changed files with 9 additions and 10 deletions

View File

@ -6,25 +6,24 @@ block content
for message in messages for message in messages
div= message div= message
form.form-horizontal(method='POST') form.form-horizontal(id='signup-form', method='POST')
legend Signup legend Signup
.form-group
label.col-sm-3.control-label(for='name') Name
.col-sm-7
input.form-control(type='text', name='name', id='name', placeholder='Name', autofocus=true)
.form-group .form-group
label.col-sm-3.control-label(for='username') Email label.col-sm-3.control-label(for='username') Email
.col-sm-7 .col-sm-7
input.form-control(type='email', name='username', id='username', placeholder='Email', autofocus=true) input.form-control(type='email', name='username', id='username', placeholder='Email', required=true)
.form-group .form-group
label.col-sm-3.control-label(for='username') Password label.col-sm-3.control-label(for='username') Password
.col-sm-7 .col-sm-7
input.form-control(type='password', name='password', id='password', placeholder='Password') input.form-control(type='password', name='password', id='password', required=true, placeholder='Password')
.form-group .form-group
label.col-sm-3.control-label(for='username') Confirm Password label.col-sm-3.control-label(for='username') Confirm Password
.col-sm-7 .col-sm-7
input.form-control(type='password', name='confirmPassword', id='confirmPassword', placeholder='Confirm Password') input.form-control(type='password', name='confirmPassword', id='confirmPassword', required=true, placeholder='Confirm Password')
.help-block
label.checkbox
input(type='checkbox', id='tos', name='tos', data-toggle='checkbox')
| I agree to 
a(href='#') terms and conditions
.form-group .form-group
.col-sm-offset-3.col-sm-7 .col-sm-offset-3.col-sm-7
button.btn.btn-primary(type='submit') Signup button.btn.btn-primary(type='submit') Signup