formatting
This commit is contained in:
parent
9415f14451
commit
5572dfedba
@ -5,9 +5,7 @@ from wtforms.validators import Email, Required
|
||||
|
||||
from .fields import SelectField
|
||||
from .forms import ValidatedForm
|
||||
from .data import (
|
||||
SERVICE_BRANCHES,
|
||||
)
|
||||
from .data import SERVICE_BRANCHES
|
||||
|
||||
from .validators import Alphabet, DateRange, PhoneNumber
|
||||
|
||||
@ -21,7 +19,7 @@ class EditUserForm(ValidatedForm):
|
||||
email = EmailField(
|
||||
"E-mail Address",
|
||||
description="Enter your preferred contact e-mail address",
|
||||
validators=[Required(), Email()]
|
||||
validators=[Required(), Email()],
|
||||
)
|
||||
|
||||
phone_number = TelField(
|
||||
|
@ -98,6 +98,7 @@ def user():
|
||||
user = g.current_user
|
||||
return render_template("user/edit.html", form=form, user=user)
|
||||
|
||||
|
||||
@bp.route("/save_user")
|
||||
def save_user():
|
||||
# no op
|
||||
|
Loading…
x
Reference in New Issue
Block a user