phantasma/app/templates/contact.html
2021-10-27 16:42:11 +05:30

23 lines
627 B
HTML
Executable file

{% 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 %}