view gpp/templates/forums/show_form.html @ 285:8fd4984d5c3b

This is a first rough commit for #95, adding the ability to embed YouTube videos in forum posts. Some more polish and testing needs to happen at this point. I wanted to get all these changes off my hard drive and into the repository.
author Brian Neal <bgneal@gmail.com>
date Thu, 14 Oct 2010 02:39:35 +0000
parents 6a5549c2efb5
children 72fd300685d5
line wrap: on
line source
{% load core_tags %}
<form action="." method="post">{% 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 />
<div id="attachment">
{% if post_id %}<input type="hidden" name="post_id" value="{{ post_id }}" />{% endif %}
</div>

</fieldset>
</form>