MCPcopy Index your code
hub / github.com/hunvreus/devpush / UserEmailForm

Class UserEmailForm

app/forms/user.py:75–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73
74
75class UserEmailForm(StarletteForm):
76 email = StringField(
77 _l("Email address"),
78 validators=[
79 DataRequired(),
80 Email(message=_l("Invalid email address")),
81 Length(max=320),
82 ],
83 )
84 submit = SubmitField(_l("Save"), name="save_email")
85
86
87class UserDeleteForm(StarletteForm):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected