23 lines
593 B
HTML
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 %}
|
|
|