Mercurial > public > sg101
view gpp/templates/core/social_block.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 | a1e3724f0799 |
children |
line wrap: on
line source
{% extends 'side_block.html' %} {% block block_title %}SG101 on the Web{% endblock %} {% block block_content %} <p class="centeredImage"> <a href="http://www.twitter.com/SurfGuitar101"><img src="http://twitter-badges.s3.amazonaws.com/twitter-a.png" alt="Follow SurfGuitar101 on Twitter"/></a><br /> <a href="http://www.youtube.com/user/surfguitar101?feature=creators_cornier-http%3A//s.ytimg.com/yt/img/creators_corner/YouTube/40x40_yt_white.png"><img src="http://s.ytimg.com/yt/img/creators_corner/YouTube/40x40_yt_white.png" alt="Subscribe to me on YouTube"/></a> </p> {% endblock %}