comparison gpp/templates/gcalendar/event.html @ 194:6a5549c2efb5

Implement #62, add support for CSRF protection.
author Brian Neal <bgneal@gmail.com>
date Sat, 03 Apr 2010 20:00:56 +0000
parents 5b69d6e01fd4
children d77e0dc772ad
comparison
equal deleted inserted replaced
193:fa7d82bfb100 194:6a5549c2efb5
14 <li>Currently, images and smilies won't show up correctly on the Google calendar. If you would 14 <li>Currently, images and smilies won't show up correctly on the Google calendar. If you would
15 like to include an image, add a link to it instead.</li> 15 like to include an image, add a link to it instead.</li>
16 <li>Once submitted, your event will be reviewed by the site staff for approval. Normally it will appear on 16 <li>Once submitted, your event will be reviewed by the site staff for approval. Normally it will appear on
17 the calendar within 24 hours.</li> 17 the calendar within 24 hours.</li>
18 </ul> 18 </ul>
19 <form id="id_gcal_event_form" action="." method="post"> 19 <form id="id_gcal_event_form" action="." method="post">{% csrf_token %}
20 <table> 20 <table>
21 {% if form.non_field_errors %} 21 {% if form.non_field_errors %}
22 <tr><td>&nbsp;</td><td>{{ form.non_field_errors }}</td></tr> 22 <tr><td>&nbsp;</td><td>{{ form.non_field_errors }}</td></tr>
23 {% endif %} 23 {% endif %}
24 <tr><th>What:</th><td>{{ form.what.errors }}{{ form.what }}</td></tr> 24 <tr><th>What:</th><td>{{ form.what.errors }}{{ form.what }}</td></tr>