comparison gpp/templates/gcalendar/event.html @ 310:daa2916f5b34

Fixing 145; New url tag behavior (forwards compatibility) in Django 1.3.
author Brian Neal <bgneal@gmail.com>
date Thu, 20 Jan 2011 04:03:48 +0000
parents d77e0dc772ad
children 9a4bffdf37c3
comparison
equal deleted inserted replaced
309:8a0bae48b6ca 310:daa2916f5b34
1 {% extends 'base.html' %} 1 {% extends 'base.html' %}
2 {% load url from future %}
2 {% load core_tags %} 3 {% load core_tags %}
3 {% block title %}{{ title }}{% endblock %} 4 {% block title %}{{ title }}{% endblock %}
4 {% block custom_js %} 5 {% block custom_js %}
5 {{ form.media }} 6 {{ form.media }}
6 {% endblock %} 7 {% endblock %}
7 {% block content %} 8 {% block content %}
8 <div class="breadcrumbs"><a href="{% url gcalendar-index %}">Calendar</a> &raquo; {{ title }}</div> 9 <div class="breadcrumbs"><a href="{% url 'gcalendar-index' %}">Calendar</a> &raquo; {{ title }}</div>
9 <h2>{{ title }}</h2> 10 <h2>{{ title }}</h2>
10 <p>Use this form to add or change an event on our calendar. Please note the following:</p> 11 <p>Use this form to add or change an event on our calendar. Please note the following:</p>
11 <ul> 12 <ul>
12 <li>If applicable, please fill out the <strong>Where</strong> field as completely as you can. 13 <li>If applicable, please fill out the <strong>Where</strong> field as completely as you can.
13 Google will generate a Google map from this information.</li> 14 Google will generate a Google map from this information.</li>
40 <tr><td>&nbsp;</td><td>{{ form.create_forum_thread }} <strong>Create a forum thread for this event?</strong></td></tr> 41 <tr><td>&nbsp;</td><td>{{ form.create_forum_thread }} <strong>Create a forum thread for this event?</strong></td></tr>
41 {% endif %} 42 {% endif %}
42 <tr><td>&nbsp;</td><td>{% comment_dialogs %}<input type="submit" name="submit_button" value="Submit" /></td></tr> 43 <tr><td>&nbsp;</td><td>{% comment_dialogs %}<input type="submit" name="submit_button" value="Submit" /></td></tr>
43 </table> 44 </table>
44 </form> 45 </form>
45 <p><a href="{% url gcalendar-index %}">&laquo; Back to the Event Calendar</a></p> 46 <p><a href="{% url 'gcalendar-index' %}">&laquo; Back to the Event Calendar</a></p>
46 {% endblock %} 47 {% endblock %}