contact form
This commit is contained in:
parent
e9fad9eabf
commit
d5bd8d2da8
13 changed files with 96 additions and 0 deletions
22
app/templates/contact.html
Normal file
22
app/templates/contact.html
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %}Contact 聯絡{% endblock title %}
|
||||
{% block body_class%}animated animated-text{% endblock %}
|
||||
{% block main %}
|
||||
<div class="contact">
|
||||
<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>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue