From 7abf10967dbf295f08438d98d48ba1762fdcd934 Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Fri, 29 Nov 2013 23:31:39 -0500 Subject: [PATCH] contact form is now centered and body textarea height increase --- views/contact.jade | 45 +++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/views/contact.jade b/views/contact.jade index a625c042c7..0acf2120df 100644 --- a/views/contact.jade +++ b/views/contact.jade @@ -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 \ No newline at end of file + .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 \ No newline at end of file