Fixing contact form to work with katalog subdomain
[edumed.git] / contact / templates / contact / mail_managers_body.txt
index 386c9cd..b7f97cf 100644 (file)
@@ -1,10 +1,10 @@
-{% load url from future %}Wypełniono formularz {{ form_tag }} na stronie {{ site_name }}.
+{% load pretty_print from contact_tags %}{% load subdomainurls %}Wypełniono formularz {{ form_tag }} na stronie {{ site_name }}.
 
-http://{{ site_domain }}{% url 'admin:contact_contact_change' contact.pk %}
+{% url 'admin:contact_contact_change' None contact.pk %}
 
 {% for k, v in contact.body.items %}
 {{ k }}:
-{{ v }}
+{{ v|pretty_print }}
 {% endfor %}
 {% for attachment in contact.attachment_set.all %}
 {{ attachment.tag }}: