Update login and contact templates
This commit is contained in:
@ -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')
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user