towards njp.ma
This commit is contained in:
parent
a7c48d557d
commit
b24ba91bfc
23 changed files with 167 additions and 524 deletions
8
app/templates/contact.html
Executable file → Normal file
8
app/templates/contact.html
Executable file → Normal file
|
|
@ -1,20 +1,20 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %}Contact 聯絡{% endblock title %}
|
||||
{% 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>
|
||||
<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>
|
||||
<label for="input-msg">Message</label>
|
||||
<textarea name="message" id="input-msg" required></textarea>
|
||||
|
||||
<input type="submit" value="Send Message 傳送訊息">
|
||||
<input type="submit" value="Send Message">
|
||||
{% csrf_token %}
|
||||
</form>
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue