annotate gpp/templates/gcalendar/event.html @ 557:7247a406f92b

Merging change to requirements.txt made on production server.
author Brian Neal <bgneal@gmail.com>
date Sun, 29 Jan 2012 14:45:09 -0600
parents 9a4bffdf37c3
children
rev   line source
gremmie@1 1 {% extends 'base.html' %}
bgneal@310 2 {% load url from future %}
bgneal@131 3 {% load core_tags %}
gremmie@1 4 {% block title %}{{ title }}{% endblock %}
gremmie@1 5 {% block custom_js %}
gremmie@1 6 {{ form.media }}
gremmie@1 7 {% endblock %}
gremmie@1 8 {% block content %}
bgneal@310 9 <div class="breadcrumbs"><a href="{% url 'gcalendar-index' %}">Calendar</a> &raquo; {{ title }}</div>
gremmie@1 10 <h2>{{ title }}</h2>
gremmie@1 11 <p>Use this form to add or change an event on our calendar. Please note the following:</p>
gremmie@1 12 <ul>
gremmie@1 13 <li>If applicable, please fill out the <strong>Where</strong> field as completely as you can.
gremmie@1 14 Google will generate a Google map from this information.</li>
gremmie@1 15 <li>Once submitted, your event will be reviewed by the site staff for approval. Normally it will appear on
gremmie@1 16 the calendar within 24 hours.</li>
gremmie@1 17 </ul>
bgneal@194 18 <form id="id_gcal_event_form" action="." method="post">{% csrf_token %}
gremmie@1 19 <table>
gremmie@1 20 {% if form.non_field_errors %}
gremmie@1 21 <tr><td>&nbsp;</td><td>{{ form.non_field_errors }}</td></tr>
gremmie@1 22 {% endif %}
gremmie@1 23 <tr><th>What:</th><td>{{ form.what.errors }}{{ form.what }}</td></tr>
gremmie@1 24 <tr><th>When:</th><td>
gremmie@1 25 {{ form.start_date.errors }}{{ form.start_date }}
gremmie@1 26 {{ form.start_time.errors }}{{ form.start_time }} to
gremmie@1 27 {{ form.end_date.errors }}{{ form.end_date }}
gremmie@1 28 {{ form.end_time.errors }}{{ form.end_time }}
gremmie@1 29 {{ form.all_day.errors }}{{ form.all_day }} <strong>All Day</strong><br />
gremmie@1 30 <div id="id_tz_stuff">
gremmie@1 31 {{ form.time_zone.errors }}
gremmie@1 32 <strong>Time Zone:</strong> <select id="id_tz_area"></select> <select id="id_tz_location"></select>
gremmie@1 33 {{ form.time_zone }}
gremmie@1 34 </div>
gremmie@1 35 </td></tr>
gremmie@1 36 <tr><th>Where:</th><td>{{ form.where.errors }}{{ form.where }}</td></tr>
gremmie@1 37 <tr><th>Details:</th><td>{{ form.description.errors }}{{ form.description }}</td></tr>
bgneal@228 38 {% if form.create_forum_thread %}
bgneal@228 39 <tr><td>&nbsp;</td><td>{{ form.create_forum_thread }} <strong>Create a forum thread for this event?</strong></td></tr>
bgneal@228 40 {% endif %}
bgneal@131 41 <tr><td>&nbsp;</td><td>{% comment_dialogs %}<input type="submit" name="submit_button" value="Submit" /></td></tr>
gremmie@1 42 </table>
gremmie@1 43 </form>
bgneal@310 44 <p><a href="{% url 'gcalendar-index' %}">&laquo; Back to the Event Calendar</a></p>
gremmie@1 45 {% endblock %}