Merge pull request #793 from gpodder/remove-advertise
[mygpo.git] / mygpo / web / templates / csrf.html
blobeb3b92f1dfb893f4ce9862b268e0da48da63fb5c
1 {% extends "base.html" %}
2 {% load i18n %}
4 {% load menu %}
5 {% block mainmenu %}{{ "/"|main_menu }}{% endblock %}
6 {% block sectionmenu %}{{ "/"|section_menu }}{% endblock %}
8 {% block title %}{% trans "Attention!" %}{% endblock %}
10 {% block header %}
11 <h1>{% trans "Attention, Attention!" %}</h1>
12 {% endblock %}
15 {% block content %}
17 <p>{% blocktrans %}It seems that {{ referer }} has linked to {{ site }} to get you to change some data. <strong>This will possibly change some of your data / settings!</strong>. Do you really want to continue? <strong>If in doubt, chose No.</strong>{% endblocktrans %}</p>
19 <form method="{{ method }}" action="{{ path }}{% if get %}?{% for key, value in get.iteritems %}{{ key }}={{ value }}&{% endfor %}{% endif %}">
20 {% csrf_token %}
21 {% for key, value in post.iteritems %}
22 <input type="hidden" name="{{ key }}" value="{{ value }}" />
23 {% endfor %}
24 <input type="submit" value="{% trans "Yes" %}" />
25 <a href="{% url "home" %}">{% trans "No" %}</a>
26 </form>
28 {% endblock %}