contact form is now centered and body textarea height increase
This commit is contained in:
@ -1,25 +1,26 @@
|
|||||||
extends layout
|
extends layout
|
||||||
|
|
||||||
block content
|
block content
|
||||||
h3 Contact Form
|
.col-sm-8.col-sm-offset-2
|
||||||
form(role='form', method='POST')
|
h3 Contact Form
|
||||||
.form-group
|
form(role='form', method='POST')
|
||||||
.row
|
.form-group
|
||||||
.col-xs-6.col-sm-6.col-md-6
|
.row
|
||||||
label(for='firstName') First Name
|
.col-xs-6.col-sm-6.col-md-6
|
||||||
input.form-control(type='text', name='firstName', id='firstName')
|
label(for='firstName') First Name
|
||||||
.col-xs-6.col-sm-6.col-md-6
|
input.form-control(type='text', name='firstName', id='firstName')
|
||||||
label(for='lastName') Last Name
|
.col-xs-6.col-sm-6.col-md-6
|
||||||
input.form-control(type='text', name='lastName', id='lastName')
|
label(for='lastName') Last Name
|
||||||
.form-group
|
input.form-control(type='text', name='lastName', id='lastName')
|
||||||
label(for='email') Email
|
.form-group
|
||||||
input.form-control(type='email', name='email', id='email')
|
label(for='email') Email
|
||||||
.form-group
|
input.form-control(type='email', name='email', id='email')
|
||||||
label(for='contactBody') Body
|
.form-group
|
||||||
textarea.form-control(type='text', name='contactBody', id='contactBody')
|
label(for='contactBody') Body
|
||||||
.form-group
|
textarea.form-control(type='text', name='contactBody', id='contactBody', rows='7')
|
||||||
button.btn.btn.btn-primary(type='submit') Send
|
.form-group
|
||||||
if messages.length
|
button.btn.btn.btn-primary(type='submit') Send
|
||||||
.alert.alert-danger
|
if messages.length
|
||||||
for message in messages
|
.alert.alert-danger
|
||||||
div= message
|
for message in messages
|
||||||
|
div= message
|
Reference in New Issue
Block a user