contact form is now centered and body textarea height increase

pull/2/head
Sahat Yalkabov 2013-11-29 23:31:39 -05:00
parent f5e6c04d7c
commit 7abf10967d
1 changed files with 23 additions and 22 deletions

View File

@ -1,25 +1,26 @@
extends layout
block content
h3 Contact Form
form(role='form', method='POST')
.form-group
.row
.col-xs-6.col-sm-6.col-md-6
label(for='firstName') First Name
input.form-control(type='text', name='firstName', id='firstName')
.col-xs-6.col-sm-6.col-md-6
label(for='lastName') Last Name
input.form-control(type='text', name='lastName', id='lastName')
.form-group
label(for='email') Email
input.form-control(type='email', name='email', id='email')
.form-group
label(for='contactBody') Body
textarea.form-control(type='text', name='contactBody', id='contactBody')
.form-group
button.btn.btn.btn-primary(type='submit') Send
if messages.length
.alert.alert-danger
for message in messages
div= message
.col-sm-8.col-sm-offset-2
h3 Contact Form
form(role='form', method='POST')
.form-group
.row
.col-xs-6.col-sm-6.col-md-6
label(for='firstName') First Name
input.form-control(type='text', name='firstName', id='firstName')
.col-xs-6.col-sm-6.col-md-6
label(for='lastName') Last Name
input.form-control(type='text', name='lastName', id='lastName')
.form-group
label(for='email') Email
input.form-control(type='email', name='email', id='email')
.form-group
label(for='contactBody') Body
textarea.form-control(type='text', name='contactBody', id='contactBody', rows='7')
.form-group
button.btn.btn.btn-primary(type='submit') Send
if messages.length
.alert.alert-danger
for message in messages
div= message