fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Display structs in contact form nicely.
[edumed.git]
/
contact
/
templates
/
contact
/
mail_managers_body.txt
diff --git
a/contact/templates/contact/mail_managers_body.txt
b/contact/templates/contact/mail_managers_body.txt
index
f9f3995
..
5088b1b
100644
(file)
--- a/
contact/templates/contact/mail_managers_body.txt
+++ b/
contact/templates/contact/mail_managers_body.txt
@@
-1,10
+1,10
@@
-Wypełniono formularz {{ form_tag }} na stronie {{ site_name }}.
+
{% load pretty_print from contact_tags %}
Wypełniono formularz {{ form_tag }} na stronie {{ site_name }}.
http://{{ site_domain }}{% url 'admin:contact_contact_change' contact.pk %}
{% for k, v in contact.body.items %}
{{ k }}:
http://{{ site_domain }}{% url 'admin:contact_contact_change' contact.pk %}
{% for k, v in contact.body.items %}
{{ k }}:
-{{ v }}
+{{ v
|pretty_print
}}
{% endfor %}
{% for attachment in contact.attachment_set.all %}
{{ attachment.tag }}:
{% endfor %}
{% for attachment in contact.attachment_set.all %}
{{ attachment.tag }}: