njpma/app/templates/contact.html

27 lines
587 B
HTML
Raw Normal View History

2021-10-26 15:47:06 +00:00
{% extends "base.html" %}
{% block title %}Contact 聯絡{% endblock title %}
{% 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-10-26 15:47:06 +00:00
<h1>Contact 聯絡</h1>
<form method="post">
<label>
Your Email:
<input name="email" type="email" required>
</label>
<br>
<label>Message 訊息:<br>
<textarea name="message" required></textarea>
</label>
<br>
2021-10-26 15:55:07 +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 %}