mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 21:49:37 -04:00
Convert radios on add org page
Changes OrganisationCrownStatusForm.crown_status. This also effects NewOrganisationForm, which inherits from OrganisationCrownStatusForm. Because of that this commit also updates the template used for the edit org crown status page, which uses NewOrganisationForm for its form.
This commit is contained in:
@@ -1168,10 +1168,8 @@ class OrganisationOrganisationTypeForm(StripWhitespaceForm):
|
||||
|
||||
|
||||
class OrganisationCrownStatusForm(StripWhitespaceForm):
|
||||
crown_status = RadioField(
|
||||
(
|
||||
'Is this organisation a crown body?'
|
||||
),
|
||||
crown_status = GovukRadiosField(
|
||||
'Is this organisation a crown body?',
|
||||
choices=[
|
||||
('crown', 'Yes'),
|
||||
('non-crown', 'No'),
|
||||
|
||||
Reference in New Issue
Block a user