Fix the ‘revoke’ links on the API keys page

They were missing the `govuk-link--destructive` class which turns them
red, consistent with other links we use for deleting or suspending
things.
This commit is contained in:
Chris Hill-Scott
2021-02-19 13:36:50 +00:00
parent ce496584d5
commit a27dbd24a7
2 changed files with 10 additions and 1 deletions

View File

@@ -46,7 +46,7 @@
{% endcall %}
{% else %}
{% call field(align='right', status='error') %}
<a class="govuk-link govuk-link--no-visited-state" href='{{ url_for('.revoke_api_key', service_id=current_service.id, key_id=item.id) }}'>
<a class="govuk-link govuk-link--destructive" href='{{ url_for('.revoke_api_key', service_id=current_service.id, key_id=item.id) }}'>
Revoke<span class="govuk-visually-hidden"> {{ item.name }}</span>
</a>
{% endcall %}