mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-06 00:48:46 -04:00
Require name when adding email branding
Otherwise name can be blank and it never appears in the list, so you can’t find it again.
This commit is contained in:
@@ -729,7 +729,7 @@ class GovernmentDomainField(StringField):
|
||||
|
||||
|
||||
class ServiceUpdateEmailBranding(StripWhitespaceForm):
|
||||
name = StringField('Name of brand')
|
||||
name = StringField('Name of brand', validators=[DataRequired()])
|
||||
text = StringField('Text')
|
||||
domain = GovernmentDomainField('Domain')
|
||||
colour = StringField(
|
||||
|
||||
Reference in New Issue
Block a user