mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-24 04:10:57 -05:00
Changes its StringFields to GovukTextInputFields. Includes changes to templates that use this form and associated tests.
26 lines
744 B
HTML
26 lines
744 B
HTML
{% extends "withnav_template.html" %}
|
|
{% from "components/page-header.html" import page_header %}
|
|
{% from "components/page-footer.html" import page_footer %}
|
|
{% from "components/radios.html" import radios %}
|
|
{% from "components/banner.html" import banner_wrapper %}
|
|
{% from "components/form.html" import form_wrapper %}
|
|
|
|
{% block service_page_title %}
|
|
Create an API key
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
{{ page_header(
|
|
'Create an API key',
|
|
back_link=url_for('main.api_keys', service_id=current_service.id)
|
|
) }}
|
|
|
|
{% call form_wrapper() %}
|
|
{{ form.key_name }}
|
|
{{ radios(form.key_type, disable=disabled_options, option_hints=option_hints) }}
|
|
{{ page_footer('Continue') }}
|
|
{% endcall %}
|
|
|
|
{% endblock %}
|