blob: 13f065df036f13f6ce7c4dcc8960a393017f4c48 (
plain)
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
|
{% extends "base.html" %}
{% block title %}Contact Us{% endblock %}
{% block head %}
{{ super() }}
{% endblock %}
{% block content %}
<div class="container">
<h1 class="display-2">Contact Us</h1>
<p>You can use this form to send us a message.</p>
<form method="POST" action="/ContactUs">
{% include 'flash_messages.html' %}
{{ form.csrf_token }}
{% from "_formhelpers.html" import render_field %}
<div class="form-group">
{{ form.name.label }} {{ form.name(class="form-control") }}
</div>
<div class="form-group">
{{ form.email.label }} {{ form.email(class="form-control") }}
</div>
<div class="form-group">
{{ form.subject.label }} {{ form.subject(class="form-control") }}
</div>
<div class="form-group">
{{form.body.label}} {{form.body(class="form-control")}}
</div>
<div class="form-group">
<input class="btn btn-primary" type="submit" value="Submit">
</div>
</form>
</div>
{% endblock %}
|