Contact form changed layout to form-horizontal
This commit is contained in:
@ -1,24 +1,27 @@
|
|||||||
extends layout
|
extends layout
|
||||||
|
|
||||||
block content
|
block content
|
||||||
.col-sm-8.col-sm-offset-2
|
.panel.panel-default
|
||||||
.panel.panel-default
|
.panel-heading
|
||||||
.panel-heading
|
i.fa.fa-envelope
|
||||||
i.fa.fa-envelope
|
| Contact Form
|
||||||
| Contact Form
|
.panel-body
|
||||||
.panel-body
|
form.form-horizontal(role='form', method='POST')
|
||||||
form(role='form', method='POST')
|
.form-group
|
||||||
.form-group
|
label(class='col-sm-2 control-label', for='email') Email
|
||||||
label(class='control-label', for='email') Email
|
.col-sm-10
|
||||||
input.form-control(type='email', name='email', id='email')
|
input.form-control(type='email', name='email', id='email')
|
||||||
.form-group
|
.form-group
|
||||||
label(class='control-label', for='contactBody') Body
|
label(class='col-sm-2 control-label', for='contactBody') Body
|
||||||
|
.col-sm-10
|
||||||
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-10
|
||||||
button.btn.btn-primary(type='submit')
|
button.btn.btn-primary(type='submit')
|
||||||
i.fa.fa-location-arrow
|
i.fa.fa-location-arrow
|
||||||
| Send
|
| Send
|
||||||
button.btn.btn-link(disabled='') Powered by SendGrid
|
button.btn.btn-link(disabled='') Powered by SendGrid
|
||||||
|
|
||||||
if error.length
|
if error.length
|
||||||
.alert.alert-danger
|
.alert.alert-danger
|
||||||
p= error
|
p= error
|
||||||
|
Reference in New Issue
Block a user