2021-10-26 15:47:06 +00:00
|
|
|
{% extends "base.html" %}
|
2021-11-12 10:21:00 +00:00
|
|
|
{% block title %}Contact{% endblock title %}
|
2021-10-26 15:47:06 +00:00
|
|
|
{% block body_class%}animated animated-text{% endblock %}
|
|
|
|
{% block main %}
|
|
|
|
<div class="contact">
|
2021-10-26 15:51:56 +00:00
|
|
|
{% if submitted %}
|
|
|
|
Thanks for your message
|
|
|
|
{% else %}
|
2021-11-12 10:21:00 +00:00
|
|
|
<h1>Contact</h1>
|
2021-10-26 15:47:06 +00:00
|
|
|
<form method="post">
|
2021-10-27 11:12:11 +00:00
|
|
|
<label for="input-email">Your Email</label>
|
|
|
|
<input name="email" type="email" id="input-email" required>
|
|
|
|
|
2021-11-12 10:21:00 +00:00
|
|
|
<label for="input-msg">Message</label>
|
2021-10-27 11:12:11 +00:00
|
|
|
<textarea name="message" id="input-msg" required></textarea>
|
|
|
|
|
2021-11-12 10:21:00 +00:00
|
|
|
<input type="submit" value="Send Message">
|
2021-10-26 15:47:06 +00:00
|
|
|
{% csrf_token %}
|
|
|
|
</form>
|
2021-10-26 15:51:56 +00:00
|
|
|
{% endif %}
|
2021-10-26 15:47:06 +00:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
|