comparison gpp/templates/gcalendar/event.html @ 1:dbd703f7d63a

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