-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathcontact.pug
More file actions
25 lines (23 loc) · 794 Bytes
/
contact.pug
File metadata and controls
25 lines (23 loc) · 794 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
extends layout
block content
.page-header
h3 Contact Form
form.form-horizontal(method='POST')
input(type='hidden', name='_csrf', value=_csrf)
.form-group
label(class='col-sm-2 control-label', for='name') Name
.col-sm-8
input.form-control(type='text', 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='message') Body
.col-sm-8
textarea.form-control(name='message', id='message', rows='7')
.form-group
.col-sm-offset-2.col-sm-8
button.btn.btn-primary(type='submit')
i.fa.fa-envelope
| Send