mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 21:49:37 -04:00
Convert radios on clear cache page (basic)
This commit is contained in:
@@ -2272,7 +2272,7 @@ class TemplateAndFoldersSelectionForm(Form):
|
||||
|
||||
|
||||
class ClearCacheForm(StripWhitespaceForm):
|
||||
model_type = RadioField(
|
||||
model_type = GovukRadiosField(
|
||||
'What do you want to clear today',
|
||||
)
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{% extends "views/platform-admin/_base_template.html" %}
|
||||
{% from "components/form.html" import form_wrapper %}
|
||||
{% from "components/radios.html" import radios %}
|
||||
{% from "components/page-footer.html" import page_footer %}
|
||||
|
||||
{% block per_page_title %}
|
||||
@@ -14,7 +13,7 @@
|
||||
</h1>
|
||||
|
||||
{% call form_wrapper() %}
|
||||
{{ radios(form.model_type) }}
|
||||
{{ form.model_type }}
|
||||
{{ page_footer('Clear') }}
|
||||
{% endcall %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user