04/25 modified are type, add Floor
This commit is contained in:
+2
-1
@@ -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.')])
|
||||
Reference in New Issue
Block a user