annotate gpp/templates/gcalendar/event.html @ 201:bc958bc3c6eb

Futzing with CSS side blocks
author Brian Neal <bgneal@gmail.com>
date Mon, 12 Apr 2010 02:56:31 +0000
parents 6a5549c2efb5
children d77e0dc772ad
rev   line source
gremmie@1 1 {% extends 'base.html' %}
bgneal@131 2 {% load core_tags %}
gremmie@1 3 {% block title %}{{ title }}{% endblock %}
gremmie@1 4 {% block custom_js %}
gremmie@1 5 {{ form.media }}
gremmie@1 6 {% endblock %}
gremmie@1 7 {% block content %}
gremmie@1 8 <div class="breadcrumbs"><a href="{% url gcalendar-index %}">Calendar</a> &raquo; {{ title }}</div>
gremmie@1 9 <h2>{{ title }}</h2>
gremmie@1 10 <p>Use this form to add or change an event on our calendar. Please note the following:</p>
gremmie@1 11 <ul>
gremmie@1 12 <li>If applicable, please fill out the <strong>Where</strong> field as completely as you can.
gremmie@1 13 Google will generate a Google map from this information.</li>
gremmie@1 14 <li>Currently, images and smilies won't show up correctly on the Google calendar. If you would
gremmie@1 15 like to include an image, add a link to it instead.</li>
gremmie@1 16 <li>Once submitted, your event will be reviewed by the site staff for approval. Normally it will appear on
gremmie@1 17 the calendar within 24 hours.</li>
gremmie@1 18 </ul>
bgneal@194 19 <form id="id_gcal_event_form" action="." method="post">{% csrf_token %}
gremmie@1 20 <table>
gremmie@1 21 {% if form.non_field_errors %}
gremmie@1 22 <tr><td>&nbsp;</td><td>{{ form.non_field_errors }}</td></tr>
gremmie@1 23 {% endif %}
gremmie@1 24 <tr><th>What:</th><td>{{ form.what.errors }}{{ form.what }}</td></tr>
gremmie@1 25 <tr><th>When:</th><td>
gremmie@1 26 {{ form.start_date.errors }}{{ form.start_date }}
gremmie@1 27 {{ form.start_time.errors }}{{ form.start_time }} to
gremmie@1 28 {{ form.end_date.errors }}{{ form.end_date }}
gremmie@1 29 {{ form.end_time.errors }}{{ form.end_time }}
gremmie@1 30 {{ form.all_day.errors }}{{ form.all_day }} <strong>All Day</strong><br />
gremmie@1 31 <div id="id_tz_stuff">
gremmie@1 32 {{ form.time_zone.errors }}
gremmie@1 33 <strong>Time Zone:</strong> <select id="id_tz_area"></select> <select id="id_tz_location"></select>
gremmie@1 34 {{ form.time_zone }}
gremmie@1 35 </div>
gremmie@1 36 </td></tr>
gremmie@1 37 <tr><th>Where:</th><td>{{ form.where.errors }}{{ form.where }}</td></tr>
gremmie@1 38 <tr><th>Details:</th><td>{{ form.description.errors }}{{ form.description }}</td></tr>
gremmie@1 39 {# form.as_p #}
bgneal@131 40 <tr><td>&nbsp;</td><td>{% comment_dialogs %}<input type="submit" name="submit_button" value="Submit" /></td></tr>
gremmie@1 41 </table>
gremmie@1 42 </form>
gremmie@1 43 <p><a href="{% url gcalendar-index %}">&laquo; Back to the Event Calendar</a></p>
gremmie@1 44 {% endblock %}