diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-03-26 15:05:21 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-03-28 13:06:33 +0000 |
commit | ab11fd295a49bf9107832db27e157741a5cd4224 (patch) | |
tree | dad904e2a32657dd6afded67d94bbec132a94e26 /templates | |
parent | 0fc6e6b1f6fb58ee1a4c587997e727aafa9a75fa (diff) |
Move added messages to the same place.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/report/new/category_wrapper.html | 10 | ||||
-rw-r--r-- | templates/web/base/report/new/form_report.html | 1 |
2 files changed, 8 insertions, 3 deletions
diff --git a/templates/web/base/report/new/category_wrapper.html b/templates/web/base/report/new/category_wrapper.html index d6cba9bb3..33c6813f9 100644 --- a/templates/web/base/report/new/category_wrapper.html +++ b/templates/web/base/report/new/category_wrapper.html @@ -17,6 +17,12 @@ [% END %] </div> -[%- IF category_extras OR report_extra_fields %] +[% PROCESS "report/new/duplicate_suggestions.html" %] + +<div id="js-post-category-messages" class="js-hide-if-invalid-category"> + [%# This section includes 'Pick an asset' text, roadworks info, extra category questions %] + + [%- IF category_extras OR report_extra_fields %] [% PROCESS "report/new/category_extras.html" %] -[%- END %] + [%- END %] +</div> diff --git a/templates/web/base/report/new/form_report.html b/templates/web/base/report/new/form_report.html index a5b378641..39e29c723 100644 --- a/templates/web/base/report/new/form_report.html +++ b/templates/web/base/report/new/form_report.html @@ -7,7 +7,6 @@ [% PROCESS "report/new/category_wrapper.html" %] [% TRY %][% PROCESS 'report/new/after_category.html' %][% CATCH file %][% END %] -[% PROCESS "report/new/duplicate_suggestions.html" %] <div class="js-hide-if-invalid-category"> [% TRY %][% PROCESS 'report/new/_form_labels.html' %][% CATCH file %][% END %] |