Rename "page-footer-delete-link" class

This doesn't set any deletion-specific attributes so it's valid to
just call it "page-footer-link".
This commit is contained in:
Ben Thorner
2022-03-24 12:58:08 +00:00
parent d1d3a6a6c3
commit 808f248782
9 changed files with 14 additions and 13 deletions

View File

@@ -31,7 +31,7 @@
{% endif %}
{% if delete_link %}
<span class="page-footer-delete-link {% if not button_text %}page-footer-delete-link-without-button{% endif %}">
<span class="page-footer-link {% if not button_text %}page-footer-delete-link-without-button{% endif %}">
<a class="govuk-link govuk-link--destructive" href="{{ delete_link }}">{{ delete_link_text }}</a>
</span>
{% endif %}