diff options
author | Dave Arter <davea@mysociety.org> | 2017-02-01 12:50:22 +0000 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2017-02-08 09:41:14 +0000 |
commit | 804506834e0ef7c1d6d9ab21dece21a18651295f (patch) | |
tree | 7060cd5bf78b716d8b952465963a40fd374b0e18 /templates | |
parent | f68f2bd46607be6cc141034e66af62bd3f64d9dd (diff) |
[Oxfordshire] Allow cobrand-specific traffic management options
Fixes mysociety/fixmystreetforcouncils#159
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/report/_inspect.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/web/base/report/_inspect.html b/templates/web/base/report/_inspect.html index 43e86cb47..3118a49b6 100644 --- a/templates/web/base/report/_inspect.html +++ b/templates/web/base/report/_inspect.html @@ -108,8 +108,9 @@ [% traffic_info = problem.get_extra_metadata('traffic_information') %] <select id="traffic_information" name="traffic_information" class="form-control"> <option value=""[% ' selected' IF NOT traffic_info %]>-</option> - <option[% ' selected' IF traffic_info == "Yes" %]>Yes</option> - <option[% ' selected' IF traffic_info == "No" %]>No</option> + [% FOREACH option IN problem.traffic_management_options %] + <option value='[% option %]'[% ' selected' IF traffic_info == option %]>[% option %]</option> + [% END %] </select> </p> <p> |