diff options
author | Dave Arter <davea@mysociety.org> | 2015-07-15 13:00:36 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2015-10-06 09:09:24 +0100 |
commit | 1fd5e4737072c7f6485238826bfbd8ebadaa9d45 (patch) | |
tree | 3343e0f9977eeaa05b124bfbd5e19cc86c8e19c8 | |
parent | 657177eba893c29d6d3f9e4b9f4f24ede5b78bc4 (diff) |
[Zurich] Display problem extras on report edit page for DM & superuser
Part of mysociety/FixMyStreet-Commercial#663
-rw-r--r-- | templates/web/zurich/admin/report_edit.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/web/zurich/admin/report_edit.html b/templates/web/zurich/admin/report_edit.html index 89f27dcda..50627eb48 100644 --- a/templates/web/zurich/admin/report_edit.html +++ b/templates/web/zurich/admin/report_edit.html @@ -53,6 +53,15 @@ %], [% IF problem.used_map %][% loc('used map') %][% ELSE %][% loc("didn't use map") %][% END %])</li> +[% SET fields = problem.get_extra_fields; IF fields.size %] +<li> + [% FOR f IN fields %] + <strong>[% f.description %]</strong> [% f.value %] + <br> + [% END %] +</li> +[% END %] + <li><span class="mock-label">[% loc('Name:') %]</span> [% problem.name | html %] <input type='hidden' name='name' id='name' value='[% problem.name | html %]'></li> <li><span class="mock-label">[% loc('Email:') %]</span> [% problem.user.email | html %] <input type='hidden' id='email' name='email' value='[% problem.user.email | html %]'> [% IF NOT problem.extra.email_confirmed %]<span class="error">[% loc('Unconfirmed') %]</span>[% END %] |