annotate gpp/templates/weblinks/link_detail.html @ 507:8631d32e6b16

Some users are still having problems with the pop-up login. I think they are actually getting 403s because of the CSRF protection. So I have modified the base template to always have a javascript variable called csrf_token available when they aren't logged in. The ajax_login.js script was then modified to send this value with the ajax post. Fingers crossed.
author Brian Neal <bgneal@gmail.com>
date Sun, 04 Dec 2011 03:05:21 +0000
parents c0d0779b266f
children
rev   line source
bgneal@20 1 {% extends 'weblinks/base.html' %}
bgneal@20 2 {% block title %}Web Links: {{ link.title }}{% endblock %}
bgneal@20 3 {% block weblinks_content %}
bgneal@20 4 <h3>Link Details: {{ link.title }}</h3>
bgneal@20 5 <dl>
bgneal@20 6 {% include 'weblinks/link.html' %}
bgneal@20 7 </dl>
bgneal@20 8 {% endblock %}