mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 17:23:13 -04:00
Mark field as optional
As suggested by the design system
This commit is contained in:
@@ -893,7 +893,7 @@ class SupportType(StripWhitespaceForm):
|
|||||||
|
|
||||||
|
|
||||||
class Feedback(StripWhitespaceForm):
|
class Feedback(StripWhitespaceForm):
|
||||||
name = StringField('Name')
|
name = StringField('Name (optional)')
|
||||||
email_address = email_address(label='Email address', gov_user=False, required=True)
|
email_address = email_address(label='Email address', gov_user=False, required=True)
|
||||||
feedback = TextAreaField('Your message', validators=[DataRequired(message="Cannot be empty")])
|
feedback = TextAreaField('Your message', validators=[DataRequired(message="Cannot be empty")])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user