26 lines
574 B
HTML
26 lines
574 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>
|
|
Your Email:
|
|
<input name="email" type="email" required>
|
|
</label>
|
|
<br>
|
|
<label>Message 訊息:<br>
|
|
<textarea name="message" required></textarea>
|
|
</label>
|
|
<br>
|
|
<input type="submit" value="Send Message">
|
|
{% csrf_token %}
|
|
</form>
|
|
{% endif %}
|
|
</div>
|
|
{% endblock %}
|
|
|