summaryrefslogtreecommitdiffstats
path: root/templates/feedback.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/feedback.html')
-rw-r--r--templates/feedback.html55
1 files changed, 55 insertions, 0 deletions
diff --git a/templates/feedback.html b/templates/feedback.html
new file mode 100644
index 00000000..38bb48ff
--- /dev/null
+++ b/templates/feedback.html
@@ -0,0 +1,55 @@
+{% extends "base_content.html" %}
+<!-- template about.html -->
+{% load i18n %}
+{% load extra_tags %}
+{% load humanize %}
+{% block title %}{% spaceless %}{% trans "Feedback" %}{% endspaceless %}{% endblock %}
+{% block forejs %}
+{% endblock %}
+{% block content %}
+<div class="headNormal">
+{% trans "Give us your feedback!" %}
+</div>
+<div class="content">
+ <form method="post" action="{% url feedback %}" accept-charset="utf-8">
+ {% if user.is_authenticated %}
+ <p class="message">
+ {% blocktrans with user.username as user_name %}
+ <span class='big strong'>Dear {{user_name}}</span>, we look forward to hearing your feedback.
+ Please type and send us your message below.
+ {% endblocktrans %}
+ <p>
+ {% else %}
+ <p class="message">
+ {% blocktrans %}
+ <span class='big strong'>Dear visitor</span>, we look forward to hearing your feedback.
+ Please type and send us your message below.
+ {% endblocktrans %}
+ </p>
+ <div class="form-row"><label>{{form.name.label}}</label><br/>{{form.name}}</div>
+ <div class="form-row">
+ <label>{{form.email.label}}
+ {% if form.errors.email %}
+ <span class='red'>(please enter a valid email)</span>
+ {% endif %}
+ </label><br/>{{form.email}}
+ </div>
+ {% endif %}
+ <div class="form-row">
+ <label>{{form.message.label}}
+ {% if form.errors.message %}
+ <span class="red">{% trans "(this field is required)" %}</span>
+ </label>
+ {% endif %}
+ <br/>
+ {{form.message}}
+ </div>
+ {{form.next}}
+ <div class="submit-row">
+ <input type="submit" class="submit" value="{% trans "Send Feedback" %}"/>
+ <input type="submit" class="submit" name="cancel" value="{% trans "Cancel" %}"/>
+ </div>
+ </form>
+</div>
+{% endblock %}
+<!-- end template about.html -->