Convert radios on set-template-sender page

Includes making the legend the h1 for the page to
follow design system guidance:

https://design-system.service.gov.uk/get-started/labels-legends-headings/
This commit is contained in:
Tom Byers
2021-01-13 14:58:39 +00:00
parent ece956e324
commit 513fbff6e0
5 changed files with 31 additions and 23 deletions

View File

@@ -2527,7 +2527,7 @@ def test_add_sender_link_only_appears_on_services_with_no_senders(
template_id=fake_uuid,
)
assert page.select_one('.govuk-grid-column-three-quarters form > a')['href'] == url_for(
assert page.select_one('form .page-footer + a')['href'] == url_for(
'main.service_add_letter_contact',
service_id=SERVICE_ONE_ID,
from_template=fake_uuid,