Fixed error messages css

This commit is contained in:
Sahat Yalkabov
2013-11-18 22:52:56 -05:00
parent d6e87b6c91
commit 7f2e8d2d82
2 changed files with 11 additions and 10 deletions

View File

@ -23,14 +23,14 @@ block content
a.pull-right(href='#') Forgot password?
label(for='password') Password
input.form-control(type='password', name='password', id='password', placeholder='Password')
.checkbox.pull-right
label
input(type='checkbox')
| Remember me
button.btn.btn.btn-success(type='submit')
| Log In
.form-group
.checkbox.pull-right
label
input(type='checkbox')
| Remember me
.form-group
button.btn.btn.btn-success(type='submit') Log In
if messages.length
.alert.alert-danger
strong Error!
| #{messages}
.alert.alert-danger.alert-dismissable
strong= messages

View File

@ -24,7 +24,8 @@ block content
.form-group
label(for='confirmPassword') Confirm Password
input.form-control(type='password', id='confirmPassword', placeholder='Confirm Password')
button.btn.btn.btn-primary(type='submit') Signup
.form-group
button.btn.btn.btn-primary(type='submit') Signup
if messages.length
.alert.alert-danger