Convert radios on data retention page (basic)

This commit is contained in:
Tom Byers
2020-06-26 21:17:38 +01:00
parent b1d65f33c7
commit 25b89dd30a
2 changed files with 3 additions and 4 deletions

View File

@@ -2097,14 +2097,14 @@ class BrandingOptions(StripWhitespaceForm):
class ServiceDataRetentionForm(StripWhitespaceForm):
notification_type = RadioField(
notification_type = GovukRadiosField(
'What notification type?',
choices=[
('email', 'Email'),
('sms', 'SMS'),
('letter', 'Letter'),
],
validators=[DataRequired()],
thing='notification type',
)
days_of_retention = GovukIntegerField(
label="Days of retention",