]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/feedback.html
deleting the test file
[osqa.git] / forum / skins / default / templates / feedback.html
1 {% extends "base_content.html" %}
2 <!-- template about.html -->
3 {% load i18n %}
4 {% load extra_tags %}
5 {% load humanize %}
6 {% block title %}{% spaceless %}{% trans "Feedback" %}{% endspaceless %}{% endblock %}
7 {% block forejs %}
8 {% endblock %}
9 {% block content %}
10 <div class="headNormal">
11 {% trans "Give us your feedback!" %}
12 </div>
13 <div class="content">
14     <form method="post" action="{% url feedback %}" accept-charset="utf-8">
15         {% if user.is_authenticated %}
16             <p class="message">
17             {% blocktrans with user.username as user_name %}
18             <span class='big strong'>Dear {{user_name}}</span>, we look forward to hearing your feedback. 
19             Please type and send us your message below.
20             {% endblocktrans %}
21             <p>
22         {% else %}
23             <p class="message">
24             {% blocktrans %}
25             <span class='big strong'>Dear visitor</span>, we look forward to hearing your feedback.
26             Please type and send us your message below.
27             {% endblocktrans %}
28             </p>
29             <div class="form-row"><label>{{form.name.label}}</label><br/>{{form.name}}</div>
30             <div class="form-row">
31                 <label>{{form.email.label}} 
32                     {% if form.errors.email %}
33                         <span class='red'>(please enter a valid email)</span>
34                     {% endif %}
35                 </label><br/>{{form.email}}
36             </div>
37         {% endif %}
38         <div class="form-row">
39             <label>{{form.message.label}}
40             {% if form.errors.message %}
41             <span class="red">{% trans "(this field is required)" %}</span>
42             </label>
43             {% endif %}
44             <br/>
45             {{form.message}}
46         </div>
47         {{form.next}}
48         <div class="submit-row">
49             <input type="submit" class="submit" value="{% trans "Send Feedback" %}"/>
50             <input type="submit" class="submit" name="cancel" value="{% trans "Cancel" %}"/>
51         </div>
52     </form>
53 </div>
54 {% endblock %}
55 <!-- end template about.html -->