Mercurial > public > sg101
view gpp/templates/downloads/thanks.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 | 88b2b9cb8c1f |
children |
line wrap: on
line source
{% extends 'base.html' %} {% load downloads_tags %} {% block title %}Thanks for the Download{% endblock %} {% block custom_css %} {{ add_form.media }} <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/downloads.css" /> {% endblock %} {% block content %} <h2>Downloads</h2> {% include 'downloads/navigation.html' %} <h3>Thanks for the Download</h3> <p>Thank you for sending in a download! Your file will be reviewed by the site staff and made available shortly.</p> {% endblock %}