Don't pass base to the comment preview template.
[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             You said:<br/>
9             {% auto_transform_markup comment %}
10         </div>
11     {% endif %}
12     <form method="POST" action="">
13         <table>
14             {{ form.as_table }}
15         </table>
16             <div><input type="submit" value="Submit Comment" />
17             <input type="submit" value="Preview Updated Comment" name="preview" /></div>
18         <input type="hidden" name="next" value="{{ next }}" />
19     </form>
20 {% endblock %}