Update links missed in previous work

Includes those in:
- the static 5xx error page
- validation messaging
- guidance page about trial mode
- links used in tests

Issues raised in https://github.com/alphagov/notifications-admin/pull/3303#issuecomment-589572715
This commit is contained in:
Tom Byers
2020-02-21 11:35:13 +00:00
parent 5459dd8c13
commit 1513cfa9e6
5 changed files with 29 additions and 10 deletions

View File

@@ -46,7 +46,8 @@ class ValidGovEmail:
message = (
'Enter a government email address.'
' If you think you should have access'
' <a href="{}">contact us</a>').format(url_for('main.support'))
' <a class="govuk-link govuk-link--no-visited-state" href="{}">contact us</a>'
).format(url_for('main.support'))
if not is_gov_user(field.data.lower()):
raise ValidationError(message)