gremmie@1
|
1 {% extends 'base.html' %}
|
gremmie@1
|
2 {% block title %}{{ title }}{% endblock %}
|
gremmie@1
|
3 {% block custom_js %}
|
gremmie@1
|
4 {{ form.media }}
|
gremmie@1
|
5 {% endblock %}
|
gremmie@1
|
6 {% block content %}
|
gremmie@1
|
7 <div class="breadcrumbs"><a href="{% url gcalendar-index %}">Calendar</a> » {{ title }}</div>
|
gremmie@1
|
8 <h2>{{ title }}</h2>
|
gremmie@1
|
9 <p>Use this form to add or change an event on our calendar. Please note the following:</p>
|
gremmie@1
|
10 <ul>
|
gremmie@1
|
11 <li>If applicable, please fill out the <strong>Where</strong> field as completely as you can.
|
gremmie@1
|
12 Google will generate a Google map from this information.</li>
|
gremmie@1
|
13 <li>Currently, images and smilies won't show up correctly on the Google calendar. If you would
|
gremmie@1
|
14 like to include an image, add a link to it instead.</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>
|
gremmie@1
|
18 <form id="id_gcal_event_form" action="." method="post">
|
gremmie@1
|
19 <table>
|
gremmie@1
|
20 {% if form.non_field_errors %}
|
gremmie@1
|
21 <tr><td> </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>
|
gremmie@1
|
38 {# form.as_p #}
|
gremmie@1
|
39 <tr><td> </td><td><input type="submit" name="submit_button" value="Submit" /></td></tr>
|
gremmie@1
|
40 </table>
|
gremmie@1
|
41 </form>
|
gremmie@1
|
42 <p><a href="{% url gcalendar-index %}">« Back to the Event Calendar</a></p>
|
gremmie@1
|
43 {% endblock %}
|