Update login and contact templates

This commit is contained in:
Sahat Yalkabov
2014-01-23 22:48:24 -05:00
parent 11f9c12b1e
commit 930aab7046
2 changed files with 6 additions and 5 deletions

View File

@ -1,9 +1,10 @@
extends ../layout extends ../layout
block content block content
if messages.length if errors.length
.alert.alert-danger.animated.fadeIn .alert.alert-danger.animated.fadeIn
strong= messages for error in errors
div= error.msg
.col-sm-8.col-sm-offset-2 .col-sm-8.col-sm-offset-2
form(method='POST') form(method='POST')
@ -24,7 +25,7 @@ block content
| Google | Google
.form-group .form-group
label.control-label(for='email') Email label.control-label(for='email') Email
input.form-control(type='email', name='email', id='email', placeholder='Email', autofocus=true) input.form-control(type='text', name='email', id='email', placeholder='Email', autofocus=true)
.form-group .form-group
label.control-label(for='username') Password label.control-label(for='username') Password
input.form-control(type='password', name='password', id='password', placeholder='Password') input.form-control(type='password', name='password', id='password', placeholder='Password')

View File

@ -2,11 +2,11 @@ extends layout
block content block content
if errors.length if errors.length
.alert.alert-danger .alert.alert-danger.animated.fadeIn
for error in errors for error in errors
div= error.msg div= error.msg
if success.length if success.length
.alert.alert-success .alert.alert-success.animated.fadeIn
p= success p= success
.page-header .page-header