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

@ -1,4 +1,4 @@
doctype 5
doctype 5
html
head
title The page you were looking for doesn't exist (404)

View File

@ -6,25 +6,24 @@ block content
for message in messages
div= message
form.form-horizontal(method='POST')
form.form-horizontal(id='signup-form', method='POST')
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
label.col-sm-3.control-label(for='username') Email
.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
label.col-sm-3.control-label(for='username') Password
.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
label.col-sm-3.control-label(for='username') Confirm Password
.col-sm-7
input.form-control(type='password', name='confirmPassword', id='confirmPassword', 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
input.form-control(type='password', name='confirmPassword', id='confirmPassword', required=true, placeholder='Confirm Password')
.form-group
.col-sm-offset-3.col-sm-7
button.btn.btn-primary(type='submit') Signup