theyworkforyou
theyworkforyou copied to clipboard
allow redirect to policy page from postcode page
Add the ability to specify a policy set or policy to visit after the user has set their postcode at /postcode
so that we can link to a policy from e.g. social media.
By adding either ?policy_set=social
or ?policy_number=6710
the postcode page will redirect to the relevant policy set or policy page for the MP.
If the user is in Scotland or Northern Ireland the choose representative page isn't shown as we only have policies for MPs so offering them a choice to see an MSP or MLA isn't going to be useful.
There's also a change to the postcode form title to indicate that putting in a postcode is part of the process of getting the information.
Fixes #1248