diff options
author | Struan Donald <struan@exo.org.uk> | 2018-05-16 14:35:57 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-08-06 09:39:42 +0100 |
commit | cc3e8bd6e93fd293934d8697e0daea58494ad28f (patch) | |
tree | 6ef5483d04e678407f3889d9f09fbd27bbe5b217 /templates | |
parent | 18e74eeb512c2824ca43c54fead5ba63d04f361b (diff) |
allow front end to not send to specific body
add a do_not_send parameter to reports which allows the front end to specify a
comma separated list of bodies that reports should not be sent to even if
there is a valid contact match. This enables asset layers to override backend
body processing, e.g. if a body only accepts reports that are on a road this
allows the front end to specify that.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/report/new/form_report.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/web/base/report/new/form_report.html b/templates/web/base/report/new/form_report.html index 9526b677c..ce8f69855 100644 --- a/templates/web/base/report/new/form_report.html +++ b/templates/web/base/report/new/form_report.html @@ -64,4 +64,5 @@ [% END %] <input type="hidden" id="single_body_only" name="single_body_only" value=""> + <input type="hidden" id="do_not_send" name="do_not_send" value=""> <input type="hidden" name="submit_problem" value="1"> |