forked from Cmastris/django_photo_gallery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.html
31 lines (29 loc) · 1.04 KB
/
contact.html
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" %}
{% load crispy_forms_filters %}
{% block head_content_tags %}
{% with title="Contact" description="Get in touch." %}
<title>{{ title }} | Chris Mastris</title>
<link rel="canonical" href="{{ absolute_root_url }}{{ request.path }}">
<meta name="description" content="{{ description }}">
<meta property="og:url" content="{{ absolute_root_url }}{{ request.path }}">
<meta property="og:type" content="website">
<meta property="og:title" content="{{ title }}">
<meta property="og:description" content="{{ description }}">
{% endwith %}
{% endblock %}
{% block content %}
<div class="container text-center pb-5">
<h1 class="display-4 pb-2 mb-5">Get in touch</h1>
<div class="row justify-content-center text-start">
<div class="col-lg-7">
<form action="{% url 'contact' %}" method="post">
{% csrf_token %}
{{ form|crispy }}
<div class="text-center">
<button class="btn btn-outline-success mt-3" type="submit">Send Message</button>
</div>
</form>
</div>
</div>
</div>
{% endblock %}