Convert radios on clear cache page (basic)

This commit is contained in:
Tom Byers
2020-11-12 13:38:20 +00:00
parent e979aef43f
commit b1d65f33c7
3 changed files with 3 additions and 4 deletions

View File

@@ -2272,7 +2272,7 @@ class TemplateAndFoldersSelectionForm(Form):
class ClearCacheForm(StripWhitespaceForm):
model_type = RadioField(
model_type = GovukRadiosField(
'What do you want to clear today',
)

View File

@@ -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 %}