04/25 modified are type, add Floor

This commit is contained in:
2026-04-25 11:34:50 -04:00
parent df9f245c57
commit 5a1c252607
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -105,6 +105,7 @@ class AreaForm(FlaskForm):
area_type = SelectField('Area Type', choices=[
('restroom','Restroom'), ('lobby','Lobby'), ('hallway','Hallway'),
('office','Office'), ('kitchen','Kitchen'), ('storage','Storage'),
('floor','Floor'),
('outdoor','Outdoor'), ('other','Other'),
], validators=[Optional()])
facility_id = SelectField('Facility', coerce=int, validators=[DataRequired()])
@@ -249,4 +250,4 @@ class SetPasswordForm(FlaskForm):
password = PasswordField('Password', validators=[DataRequired(), Length(min=8, max=100)])
confirm_password = PasswordField('Confirm Password',
validators=[DataRequired(),
EqualTo('password', message='Passwords must match.')])
EqualTo('password', message='Passwords must match.')])