comparison gpp/templates/gcalendar/google_sync.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 9fb8e804652b
children 9a4bffdf37c3
comparison
equal deleted inserted replaced
193:fa7d82bfb100 194:6a5549c2efb5
23 <li><a href="../../{{ event.id }}">{{ event.start_date|date:"M d, Y" }} - {{ event.what }}</a> 23 <li><a href="../../{{ event.id }}">{{ event.start_date|date:"M d, Y" }} - {{ event.what }}</a>
24 &bull; Submitted by {{ event.user.username }} &bull; <strong>{{ event.get_status_display }}</strong></li> 24 &bull; Submitted by {{ event.user.username }} &bull; <strong>{{ event.get_status_display }}</strong></li>
25 {% endif %} 25 {% endif %}
26 {% endfor %} 26 {% endfor %}
27 </ol> 27 </ol>
28 <form action="." method="POST"> 28 <form action="." method="POST">{% csrf_token %}
29 {{ form.as_p }} 29 {{ form.as_p }}
30 <p><input type="submit" name="submit" value="Submit" /></p> 30 <p><input type="submit" name="submit" value="Submit" /></p>
31 </form> 31 </form>
32 {% else %} 32 {% else %}
33 <p>No events to synchronize at this time.</p> 33 <p>No events to synchronize at this time.</p>