From 3c4c71fc19865bfb75231c425fae31c6b2c211de Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Tue, 9 Feb 2010 16:48:38 -0500 Subject: started working towards skinning forum app - first step - move templates to app --- forum/templates/feedback.html | 55 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 forum/templates/feedback.html (limited to 'forum/templates/feedback.html') diff --git a/forum/templates/feedback.html b/forum/templates/feedback.html new file mode 100644 index 00000000..38bb48ff --- /dev/null +++ b/forum/templates/feedback.html @@ -0,0 +1,55 @@ +{% extends "base_content.html" %} + +{% load i18n %} +{% load extra_tags %} +{% load humanize %} +{% block title %}{% spaceless %}{% trans "Feedback" %}{% endspaceless %}{% endblock %} +{% block forejs %} +{% endblock %} +{% block content %} +
+{% trans "Give us your feedback!" %} +
+
+
+ {% if user.is_authenticated %} +

+ {% blocktrans with user.username as user_name %} + Dear {{user_name}}, we look forward to hearing your feedback. + Please type and send us your message below. + {% endblocktrans %} +

+ {% else %} +

+ {% blocktrans %} + Dear visitor, we look forward to hearing your feedback. + Please type and send us your message below. + {% endblocktrans %} +

+

{{form.name}}
+
+
{{form.email}} +
+ {% endif %} +
+ + {% endif %} +
+ {{form.message}} +
+ {{form.next}} +
+ + +
+
+
+{% endblock %} + -- cgit v1.2.3-1-g7c22