From b148bab8f549792f19ae0256c00c282f29e061dc Mon Sep 17 00:00:00 2001 From: bnewbold Date: Wed, 7 Mar 2007 01:09:52 -0800 Subject: much work; comments working for photos, static content moved, more --- bn_django/templates/comments/preview.html | 46 +++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 bn_django/templates/comments/preview.html (limited to 'bn_django/templates/comments/preview.html') diff --git a/bn_django/templates/comments/preview.html b/bn_django/templates/comments/preview.html new file mode 100644 index 0000000..052b373 --- /dev/null +++ b/bn_django/templates/comments/preview.html @@ -0,0 +1,46 @@ +{% extends "base.html" %} + + +{% block title %}Preview your comment{% endblock %} + +{% block content %} + +
+ {% if comment_form.has_errors %} +

Please correct the following errors.

+ {% else %} +
+ {{ comment.comment|escape|urlizetrunc:"40"|linebreaks }} +

Posted by {{ comment.person_name }}

+
+ +

+ +

Or edit it again

+ {% endif %} + + {% if comment_form.person_name.errors %} + {{ comment_form.person_name.html_error_list }} + {% endif %} + +

{{ comment_form.person_name }}

+ + {% if comment_form.comment.errors %} + {{ comment_form.comment.html_error_list }} + {% endif %} + +

+ +
+ {{ comment_form.comment }} +

+ + + + + +

+ +

+
+{% endblock %} -- cgit v1.2.3