Make the preview consistent with normal comments.
[matthijs/projects/xerxes.git] / templates / influences / influence_comment_preview.html
1 {% extends "influences/influence_detail.html" %}
2
3 {% load threadedcommentstags %}
4
5 {% block comments %}
6     {% if comment %}
7         <div class="comment preview{% if not comment.is_public %} private{% endif %}">
8             <span class="commenter">You said:</span>
9                         <div class="comment-body">
10             {% auto_transform_markup comment %}
11                         </div>
12         </div>
13     {% endif %}
14         <div class="commentReplyForm">
15                 <form method="POST" action="">
16                         {{ form.comment.label_tag }}</br/>
17                         {{ form.comment }}<br/>
18                         {{ form.is_public }}
19                         {{ form.is_public.label_tag }}
20                         <div>
21                         <input type="hidden" name="next" value="{{ next }}" />
22                         <input type="submit" value="Submit Comment" />
23                         <input type="submit" value="Preview Updated Comment" name="preview" />
24                         </div>
25                 </form>
26         </div>
27 {% endblock %}