mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-26 09:13:58 -04:00
Replace straightforward buttons and links styled like buttons
This replaces the buttons that aren't part of a macro and that we don't need to write additional styles for with their govuk-frontend equivalent. There were some links that were styled to look like buttons, so these have also been replaced with the new govuk-frontend macro. There was one button on the `choose-account.html` template that was in a section of code that was never reached - this has been deleted.
This commit is contained in:
@@ -2029,7 +2029,7 @@ def test_should_show_template_as_first_page_of_tour(
|
||||
'service one: Template <em>content</em> with & entity'
|
||||
)
|
||||
|
||||
assert page.select('a.button')[0]['href'] == url_for(
|
||||
assert page.select('a.govuk-button')[0]['href'] == url_for(
|
||||
'.send_test', service_id=SERVICE_ONE_ID, template_id=fake_uuid, help=2
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user