Update call to api_key component across pages

Includes the following pages:
- letter contact (in service settings)
- sms-senders page (in service settings)
- email reply-to (in service settings)
- API key page

Note: the call on the letter contact page uses
the first line of the contact address as the
unique identifier for each button.
This commit is contained in:
Tom Byers
2020-08-19 21:35:05 +01:00
parent a0e78e6102
commit 04160800f0
5 changed files with 7 additions and 4 deletions

View File

@@ -24,7 +24,8 @@
{{ api_key(
'{}-{}-{}'.format(key_name, service_id, secret),
'API key'
name='API key',
thing='API key'
) }}
{{ page_footer(