2013-11-16 13:24:06 -05:00
|
|
|
extends layout
|
|
|
|
|
|
|
|
block content
|
2013-12-04 14:07:58 -05:00
|
|
|
if messages.length
|
|
|
|
.alert.alert-danger
|
2013-12-04 14:27:18 -05:00
|
|
|
for message in messages
|
|
|
|
div= message
|
2013-12-04 18:35:40 -05:00
|
|
|
|
2013-12-20 16:30:38 -05:00
|
|
|
form.form-horizontal(id='signup-form', method='POST')
|
2013-12-11 20:42:30 -05:00
|
|
|
legend Signup
|
2013-12-20 16:30:38 -05:00
|
|
|
.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)
|
2013-12-11 20:42:30 -05:00
|
|
|
.form-group
|
|
|
|
label.col-sm-3.control-label(for='username') Email
|
|
|
|
.col-sm-7
|
2013-12-20 16:30:38 -05:00
|
|
|
input.form-control(type='email', name='username', id='username', placeholder='Email', required=true)
|
2013-12-11 20:42:30 -05:00
|
|
|
.form-group
|
|
|
|
label.col-sm-3.control-label(for='username') Password
|
|
|
|
.col-sm-7
|
2013-12-20 16:30:38 -05:00
|
|
|
input.form-control(type='password', name='password', id='password', required=true, placeholder='Password')
|
2013-12-11 20:42:30 -05:00
|
|
|
.form-group
|
|
|
|
label.col-sm-3.control-label(for='username') Confirm Password
|
|
|
|
.col-sm-7
|
2013-12-20 16:30:38 -05:00
|
|
|
input.form-control(type='password', name='confirmPassword', id='confirmPassword', required=true, placeholder='Confirm Password')
|
2013-12-11 20:42:30 -05:00
|
|
|
.form-group
|
|
|
|
.col-sm-offset-3.col-sm-7
|
|
|
|
button.btn.btn-primary(type='submit') Signup
|