mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 16:38:59 -04:00
Reorganise templates for API keys page
This adds another layer of folder structure to the templates to match the new URLs, which have another layer of hierarchy.
This commit is contained in:
22
app/templates/views/api/keys/create.html
Normal file
22
app/templates/views/api/keys/create.html
Normal file
@@ -0,0 +1,22 @@
|
||||
{% 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
|
||||
{% endblock %}
|
||||
|
||||
{% block maincolumn_content %}
|
||||
|
||||
<h1 class="heading-large">
|
||||
Create an API key
|
||||
</h1>
|
||||
|
||||
<form method="post">
|
||||
{{ radios(form.key_type) }}
|
||||
{{ textbox(form.key_name, label='Name for this key') }}
|
||||
{{ page_footer('Continue') }}
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user