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/answer_edit.html | 85 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 forum/templates/answer_edit.html (limited to 'forum/templates/answer_edit.html') diff --git a/forum/templates/answer_edit.html b/forum/templates/answer_edit.html new file mode 100644 index 00000000..cd247a3c --- /dev/null +++ b/forum/templates/answer_edit.html @@ -0,0 +1,85 @@ +{% extends "base.html" %} + +{% load i18n %} +{% load extra_tags %} +{% block title %}{% spaceless %}{% trans "Edit answer" %}{% endspaceless %}{% endblock %} +{% block forejs %} + + + + + + + +{% endblock %} + +{% block content %} +
+ {% trans "Edit answer" %} [{% trans "back" %}] +
+
+
+
+
+ {% if revision_form.revision.errors %}{{ revision_form.revision.errors.as_ul }}{% endif %} +
+ {{ revision_form.revision }} +
+
+
+ {{ form.text }} + +
{% trans "toggle preview" %}
+
+
+ + {{ form.summary.label_tag }}
+ {{ form.summary }} {{ form.summary.errors }} +
+ {{ form.summary.help_text }} +
+ + +
+
+
+{% endblock %} + +{% block sidebar %} +{% include "answer_edit_tips.html" %} +{% endblock %} + +{% block endjs %} +{% endblock %} + -- cgit v1.2.3-1-g7c22