Update buttons on api key pages to govuk-frontend buttons

This commit is contained in:
Katie Smith
2020-02-06 14:47:47 +00:00
parent 485d25b120
commit 0d0b71af63
6 changed files with 19 additions and 20 deletions

View File

@@ -1,10 +1,10 @@
{% macro api_key(key, name=None, thing="API key") %}
{% if name %}
<h2 class="api-key-name">
<h2 class="api-key__name">
{{ name }}
</h2>
{% endif %}
<div data-module="api-key" data-key="{{ key }}" data-thing="{{ thing }}" aria-live="assertive">
<span class="api-key-key">{{ key }}</span>
<span class="api-key__key">{{ key }}</span>
</div>
{% endmacro %}