{% extends form.base_template|default:"base/base.html" %}
{% load chunks %}
{% load honeypot %}
+{% load ssi_csrf_token from ssify %}
{% block title %}{{ form.form_title }}{% endblock %}
</div>
<form method="POST" action="." enctype="multipart/form-data" class="submit-form">
- {% csrf_token %}
+ {% ssi_csrf_token %}
{% render_honeypot_field %}
{% block form %}
<table>
-{% load pretty_print from contact_tags %}{% load subdomainurls %}Wypełniono formularz {{ form_tag }} na stronie {{ site_name }}.
+{% load pretty_print from contact_tags %}Wypełniono formularz {{ form_tag }} na stronie {{ site_name }}.
-{% url 'admin:contact_contact_change' None contact.pk %}
+https://{{site_domain}}{% url 'admin:contact_contact_change' contact.pk %}
{% for k, v in contact.body.items %}
{{ k }}:
{% endfor %}
{% for attachment in contact.attachment_set.all %}
{{ attachment.tag }}:
-http://{{ site_domain }}{{ attachment.get_absolute_url }}
+https://{{ site_domain }}{{ attachment.get_absolute_url }}
{% endfor %}