forked from sahat/hackathon-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.jade
More file actions
32 lines (29 loc) · 964 Bytes
/
contact.jade
File metadata and controls
32 lines (29 loc) · 964 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
extends layout
block content
if errors.length
.alert.alert-danger.animated.fadeIn
for error in errors
div= error.msg
if success.length
.alert.alert-success.animated.fadeIn
p= success
.page-header
h3 Contact Form
form.form-horizontal(role='form', method='POST')
.form-group
label(class='col-sm-2 control-label', for='email') Name
.col-sm-8
input.form-control(type='name', name='name', id='name', autofocus=true)
.form-group
label(class='col-sm-2 control-label', for='email') Email
.col-sm-8
input.form-control(type='text', name='email', id='email')
.form-group
label(class='col-sm-2 control-label', for='contactBody') Body
.col-sm-8
textarea.form-control(type='text', name='message', id='message', rows='7')
.form-group
.col-sm-offset-2.col-sm-8
button.btn.btn-default(type='submit')
i.fa.fa-mail-forward
| Send