view gpp/templates/forums/edit_post.html @ 322:c3d3d7114749

Fix #148; Django now requires AJAX posts to present the CSRF token. Added code suggested by Django docs to shoutbox.js. Since shoutbox.js is on every page, it should cover all cases.
author Brian Neal <bgneal@gmail.com>
date Sat, 12 Feb 2011 21:37:17 +0000
parents 72fd300685d5
children
line wrap: on
line source
{% extends 'base.html' %}
{% load forum_tags %}
{% block title %}Forums: Edit Post{% endblock %}
{% block custom_js %}{{ form.media }}{% endblock %}
{% block content %}
{% forum_navigation topic "Edit Post" %}

<div class="forum-block">
<table class="forum-topic" id="forum-topic">
{% include 'forums/display_post.html' %}
</table>

<a name="forum-reply-form"></a>
{% show_form "Edit Post" form "Update Post" 0 %}
</div>
{% endblock %}