Don’t allow unstyled links

They should always be styled with the `govuk-link` class from GOV.UK
Frontend, or another custom class.
This commit is contained in:
Chris Hill-Scott
2020-05-29 17:25:11 +01:00
parent 4df99bd27f
commit 84f67bf1dd
5 changed files with 8 additions and 5 deletions

View File

@@ -21,7 +21,7 @@
This is an API-only feature.
</p>
<p class="govuk-body">
To send a file by email, follow the instructions in our <a href={{ url_for('main.documentation') }}>API documentation</a>.
To send a file by email, follow the instructions in our <a class="govuk-link govuk-link--no-visited-state" href={{ url_for('main.documentation') }}>API documentation</a>.
</p>
<h2 class="heading-medium">{% if contact_details %}Change contact details for{% else %}Add contact details to{% endif %} the file download page</h2>
<p class="govuk-body">