diff gpp/templates/gcalendar/event.html @ 228:d77e0dc772ad

Implement #88; add option to create a new forum thread from a new calendar entry.
author Brian Neal <bgneal@gmail.com>
date Sun, 11 Jul 2010 21:03:41 +0000
parents 6a5549c2efb5
children daa2916f5b34
line wrap: on
line diff
--- a/gpp/templates/gcalendar/event.html	Tue Jul 06 03:02:20 2010 +0000
+++ b/gpp/templates/gcalendar/event.html	Sun Jul 11 21:03:41 2010 +0000
@@ -36,7 +36,9 @@
 </td></tr>
 <tr><th>Where:</th><td>{{ form.where.errors }}{{ form.where }}</td></tr>
 <tr><th>Details:</th><td>{{ form.description.errors }}{{ form.description }}</td></tr>
-{# form.as_p #}
+{% if form.create_forum_thread %}
+<tr><td>&nbsp;</td><td>{{ form.create_forum_thread }} <strong>Create a forum thread for this event?</strong></td></tr>
+{% endif %}
 <tr><td>&nbsp;</td><td>{% comment_dialogs %}<input type="submit" name="submit_button" value="Submit" /></td></tr>
 </table>
 </form>