Contact form redesign
This commit is contained in:
@ -45,4 +45,5 @@ body {
|
|||||||
.github {
|
.github {
|
||||||
background-color: #333;
|
background-color: #333;
|
||||||
border-color: #333;
|
border-color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
extends layout
|
extends layout
|
||||||
|
|
||||||
block content
|
block content
|
||||||
h2.text Contact Form
|
h2.text-center Contact Form
|
||||||
|
.center-block
|
||||||
form.form-horizontal(role='form', method='POST')
|
form.form-horizontal(role='form', method='POST')
|
||||||
.form-group
|
.form-group
|
||||||
label(class='col-sm-2 control-label', for='email') Name
|
label(class='col-sm-2 control-label', for='email') Name
|
||||||
@ -17,9 +18,8 @@ block content
|
|||||||
textarea.form-control(type='text', name='contactBody', id='contactBody', rows='7')
|
textarea.form-control(type='text', name='contactBody', id='contactBody', rows='7')
|
||||||
.form-group
|
.form-group
|
||||||
.col-sm-offset-2.col-sm-8
|
.col-sm-offset-2.col-sm-8
|
||||||
button.btn.btn-primary(type='submit') Send
|
button.btn.btn-success(type='submit') Send
|
||||||
span.pull-right.clearfix Powered by
|
img.pull-right(height='34', src='/img/sendgrid.png')
|
||||||
img(height='34', src='/img/sendgrid.png')
|
|
||||||
|
|
||||||
if error.length
|
if error.length
|
||||||
.alert.alert-danger
|
.alert.alert-danger
|
||||||
|
Reference in New Issue
Block a user