mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-27 11:19:21 -04:00
Decouple the set of org types from their labels
In response to: [^1]. [^1]: https://github.com/alphagov/notifications-admin/pull/4196#discussion_r838383086
This commit is contained in:
@@ -992,7 +992,7 @@ class OrganisationTypeField(GovukRadiosField):
|
||||
super().__init__(
|
||||
*args,
|
||||
choices=[
|
||||
(value, label) for value, label in Organisation.TYPES
|
||||
(value, label) for value, label in Organisation.TYPE_LABELS.items()
|
||||
if not include_only or value in include_only
|
||||
],
|
||||
thing='the type of organisation',
|
||||
|
||||
Reference in New Issue
Block a user