2021-10-26 16:47:06 +01:00
|
|
|
{% extends "base.html" %}
|
2021-11-12 10:21:00 +00:00
|
|
|
{% block title %}Contact{% endblock title %}
|
2021-10-26 16:47:06 +01:00
|
|
|
{% block body_class%}animated animated-text{% endblock %}
|
|
|
|
{% block main %}
|
|
|
|
<div class="contact">
|
2021-10-26 16:51:56 +01:00
|
|
|
{% if submitted %}
|
|
|
|
Thanks for your message
|
|
|
|
{% else %}
|
2021-11-12 10:21:00 +00:00
|
|
|
<h1>Contact</h1>
|
2021-10-26 16:47:06 +01:00
|
|
|
<form method="post">
|
2021-10-27 16:42:11 +05:30
|
|
|
<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 16:42:11 +05:30
|
|
|
<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 16:47:06 +01:00
|
|
|
{% csrf_token %}
|
|
|
|
</form>
|
2021-10-26 16:51:56 +01:00
|
|
|
{% endif %}
|
2021-10-26 16:47:06 +01:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
|