[% SET form_show_category_only = NOT category || field_errors.category || disable_form_message || have_disable_qn_to_answer %] [% TRY %][% PROCESS 'report/new/_form_labels.html' %][% CATCH file %][% END %] [% PROCESS 'report/new/form_public_councils_text.html' ~%] [% INCLUDE 'report/new/form_after_heading.html' %] [% IF field_errors.bodies %]

[% field_errors.bodies %]

[% END %]
[% IF public_councils_text_at_top %] [% INCLUDE public_councils_text %] [% END %] [% PROCESS "report/new/category_wrapper.html" %] [% TRY %][% PROCESS 'report/new/after_category.html' %][% CATCH file %][% END %]
[% IF NOT js %] [% PROCESS report/new/subcategories.html %] [% END %]
[% PROCESS "report/new/duplicate_suggestions.html" %]
[%# This section includes 'Pick an asset' text, roadworks info, extra category questions %] [% IF NOT disable_form_message %] [% PROCESS "report/new/category_extras.html" %] [% END %]
[% IF form_show_category_only %]
[% SET field_required = '' %] [% ELSE %] [% SET field_required = ' required' %] [% END %] [% IF c.cobrand.allow_photo_upload %]
[% PROCESS 'report/form/photo_upload.html' type='report' %] [% PROCESS 'report/new/after_photo.html' %]
[% END %]
[% UNLESS public_councils_text_at_top %] [% INCLUDE public_councils_text %] [% END %] [% INCLUDE 'report/new/form_title.html' %] [% TRY %][% PROCESS 'report/new/after_title.html' %][% CATCH file %][% END %] [% DEFAULT form_detail_label = loc('Explain what’s wrong') %] [%# You can prevent a hint being printed by setting form_detail_placeholder to a Falsey value %] [% IF NOT form_detail_placeholder.defined %] [% SET form_detail_placeholder = loc('e.g. ‘This pothole has been here for two months and…’') %] [% END %] [% IF contact_detail_hint %]

[% contact_detail_hint %]

[% ELSIF form_detail_placeholder %]

[% form_detail_placeholder %]

[% END %] [% IF field_errors.detail %]

[% field_errors.detail %]

[% END %] [% TRY %][% PROCESS 'report/new/inline-tips.html' %][% CATCH file %][% END %] [% TRY %][% PROCESS 'report/new/after_detail.html' %][% CATCH file %][% END %]
[% PROCESS report/form/user.html type='report' %]
[% IF partial_token %] [% END %]