[% IF bodyclass.match('mappage') AND NOT bodyclass.match('formflow') AND NOT bodyclass.match('accountpage'); scripts.push( version('/cobrands/fixmystreet-uk-councils/js.js'), version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'), version('/cobrands/fixmystreet/assets.js'), ); IF validation; scripts.push( version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'), ); END; IF hide_elements_for_categories; scripts.push( version('/cobrands/fixmystreet-uk-councils/council_category_element_display_rules.js'), ); END; IF cobrand_js; scripts.push( version('/cobrands/' _ c.cobrand.moniker _ '/assets.js'), ); END; IF highways; scripts.push( version('/cobrands/highways/assets.js'), ); END; IF roadworks; %]
[% scripts.push( version('/cobrands/fixmystreet-uk-councils/roadworks.js'), ); END; scripts.push( version('/cobrands/fixmystreet-uk-councils/assets.js'), version('/js/asset_layers.js') ); END; IF bodyclass.match('mappage') AND bodyclass.match('formflow'); scripts.push( version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'), ); END; IF page_refresh; scripts.push( version('/vendor/htmx.min.js'), ); END; ~%]