annotate 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
rev   line source
bgneal@135 1 {% load core_tags %}
bgneal@194 2 <form action="." method="post">{% csrf_token %}
bgneal@127 3 <fieldset>
bgneal@127 4 <legend>{{ legend_text }}</legend>
bgneal@127 5 {{ form.as_p }}
bgneal@135 6 {% comment_dialogs %}
bgneal@127 7 <input type="submit" value="{{ submit_value }}" {% if is_ajax %}id="forums-reply-post"{% endif %} />
bgneal@285 8
bgneal@285 9 <br />
bgneal@285 10 <br />
bgneal@285 11 <div id="attachment">
bgneal@285 12 {% if post_id %}<input type="hidden" name="post_id" value="{{ post_id }}" />{% endif %}
bgneal@285 13 </div>
bgneal@285 14
bgneal@127 15 </fieldset>
bgneal@127 16 </form>