mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Add radio buttons for choosing the API key type
Best-guess wording for what the labels and question should be. Adds a macro for rendering radio buttons from a WTForms field.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{% extends "withnav_template.html" %}
|
||||
{% from "components/page-footer.html" import page_footer %}
|
||||
{% from "components/textbox.html" import textbox %}
|
||||
{% from "components/radios.html" import radios %}
|
||||
|
||||
{% block page_title %}
|
||||
Add a new API key – GOV.UK Notify
|
||||
@@ -13,7 +14,8 @@
|
||||
</h1>
|
||||
|
||||
<form method="post">
|
||||
{{ textbox(key_name, hint='eg CRM application') }}
|
||||
{{ radios(form.key_type) }}
|
||||
{{ textbox(form.key_name, label='Name for this key') }}
|
||||
{{ page_footer('Continue') }}
|
||||
</form>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user