comparison 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
comparison
equal deleted inserted replaced
227:423c39ee44e0 228:d77e0dc772ad
34 {{ form.time_zone }} 34 {{ form.time_zone }}
35 </div> 35 </div>
36 </td></tr> 36 </td></tr>
37 <tr><th>Where:</th><td>{{ form.where.errors }}{{ form.where }}</td></tr> 37 <tr><th>Where:</th><td>{{ form.where.errors }}{{ form.where }}</td></tr>
38 <tr><th>Details:</th><td>{{ form.description.errors }}{{ form.description }}</td></tr> 38 <tr><th>Details:</th><td>{{ form.description.errors }}{{ form.description }}</td></tr>
39 {# form.as_p #} 39 {% if form.create_forum_thread %}
40 <tr><td>&nbsp;</td><td>{{ form.create_forum_thread }} <strong>Create a forum thread for this event?</strong></td></tr>
41 {% endif %}
40 <tr><td>&nbsp;</td><td>{% comment_dialogs %}<input type="submit" name="submit_button" value="Submit" /></td></tr> 42 <tr><td>&nbsp;</td><td>{% comment_dialogs %}<input type="submit" name="submit_button" value="Submit" /></td></tr>
41 </table> 43 </table>
42 </form> 44 </form>
43 <p><a href="{% url gcalendar-index %}">&laquo; Back to the Event Calendar</a></p> 45 <p><a href="{% url gcalendar-index %}">&laquo; Back to the Event Calendar</a></p>
44 {% endblock %} 46 {% endblock %}