Refactor and format

This commit is contained in:
Montana
2018-09-05 13:58:30 -04:00
parent 109249d953
commit 40c248df16
4 changed files with 13 additions and 23 deletions

View File

@@ -6,7 +6,7 @@ from atst.forms.fields import SelectField
from .data import WORKSPACE_ROLES
class UpdateMemberForm(Form):
class EditMemberForm(Form):
workspace_role = SelectField(
"Workspace Role", choices=WORKSPACE_ROLES, validators=[Optional()]