phantasma/app/templates/contact.html
2021-11-12 10:21:00 +00:00

23 lines
593 B
HTML

{% extends "base.html" %}
{% block title %}Contact{% endblock title %}
{% block body_class%}animated animated-text{% endblock %}
{% block main %}
<div class="contact">
{% if submitted %}
Thanks for your message
{% else %}
<h1>Contact</h1>
<form method="post">
<label for="input-email">Your Email</label>
<input name="email" type="email" id="input-email" required>
<label for="input-msg">Message</label>
<textarea name="message" id="input-msg" required></textarea>
<input type="submit" value="Send Message">
{% csrf_token %}
</form>
{% endif %}
</div>
{% endblock %}