view gpp/templates/forums/show_form.html @ 388:c3231af55778

For #191; r410 is wrong: it is returning the wrong posts. Rework. MySQL is not using an index on our query, and it is taking 10+ seconds. Replace this slow query with a loop that loops over the public forums, then sorts and returns the posts.
author Brian Neal <bgneal@gmail.com>
date Sat, 19 Mar 2011 05:03:51 +0000
parents 72fd300685d5
children
line wrap: on
line source
{% load core_tags %}
<form action="." method="post" id="forums_post_form">{% csrf_token %}
<fieldset>
<legend>{{ legend_text }}</legend>
{{ form.as_p }}
{% comment_dialogs %}
<input type="submit" value="{{ submit_value }}" {% if is_ajax %}id="forums-reply-post"{% endif %} />

<br />
<br />
<fieldset>
<legend>Video Attachments</legend>
<div id="attachment"></div>
</fieldset>

</fieldset>
</form>