Add organisations pages to show orgs and create/edit them

This commit is contained in:
Ken Tsang
2018-02-08 12:19:21 +00:00
parent b11bfd49e3
commit f0e8661e34
6 changed files with 228 additions and 0 deletions

View File

@@ -665,6 +665,11 @@ class ServiceCreateEmailBranding(StripWhitespaceForm):
file = FileField_wtf('Upload a PNG logo', validators=[FileAllowed(['png'], 'PNG Images only!')])
class CreateOrUpdateOrganisation(StripWhitespaceForm):
name = StringField('Name', validators=[DataRequired()])
class LetterBranding(StripWhitespaceForm):
def __init__(self, choices=[], *args, **kwargs):