aboutsummaryrefslogtreecommitdiffstats
path: root/templates/email/fixmystreet.com/submit.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/email/fixmystreet.com/submit.html')
-rw-r--r--templates/email/fixmystreet.com/submit.html11
1 files changed, 8 insertions, 3 deletions
diff --git a/templates/email/fixmystreet.com/submit.html b/templates/email/fixmystreet.com/submit.html
index f8b2db0dc..1d40f1eb6 100644
--- a/templates/email/fixmystreet.com/submit.html
+++ b/templates/email/fixmystreet.com/submit.html
@@ -49,9 +49,14 @@ of a local problem that they believe might require your attention.</p>
<h2 style="[% h2_style %]">[% report.title | html %]</h2>
<p style="[% secondary_p_style %]"><strong>Category:</strong> [% report.category | html %]</p>
<p style="[% secondary_p_style %]">[% report.detail | html %]</p>
- [%~ IF additional_information %]
- <p style="[% secondary_p_style %]">[% additional_information %]</p>
- [%~ END %]
+ [% IF report.get_extra_fields %]
+ <p style="[% secondary_p_style %]">
+ [%~ FOR field IN report.get_extra_fields %][% IF field.value %]
+ [% field.description %]: [% field.value %]
+ [% IF NOT loop.last %]<br>[% END %]
+ [%~ END %][% END %]
+ </p>
+ [% END %]
<p style="[% secondary_p_style %]">
<strong>Location:</strong>
<br>Easting/Northing