Update name of env form
This commit is contained in:
@@ -10,6 +10,6 @@ class EnvMemberRoleForm(BaseForm):
|
||||
role = RadioField(choices=ENV_ROLES)
|
||||
|
||||
|
||||
class EnvironmentForm(BaseForm):
|
||||
class EnvironmentRolesForm(BaseForm):
|
||||
team_roles = FieldList(FormField(EnvMemberRoleForm))
|
||||
env_id = HiddenField()
|
||||
|
@@ -217,4 +217,6 @@ REQUIRED_DISTRIBUTIONS = [
|
||||
("other", "Other as necessary"),
|
||||
]
|
||||
|
||||
ENV_ROLES = [(role.value, role.value) for role in CSPRole]
|
||||
ENV_ROLES = [(role.value, role.value) for role in CSPRole] + [
|
||||
("No access", "No access")
|
||||
]
|
||||
|
Reference in New Issue
Block a user