diff options
Diffstat (limited to 'ogcp/forms')
-rw-r--r-- | ogcp/forms/action_forms.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py index 3c53d0c..8586665 100644 --- a/ogcp/forms/action_forms.py +++ b/ogcp/forms/action_forms.py @@ -175,8 +175,7 @@ class CenterForm(FlaskForm): class DeleteCenterForm(FlaskForm): server = HiddenField() - center = SelectField(label=_l('Center'), - validators=[InputRequired()]) + center = HiddenField() submit = SubmitField(label=_l('Submit')) class RoomForm(FlaskForm): @@ -194,8 +193,7 @@ class RoomForm(FlaskForm): class DeleteRoomForm(FlaskForm): server = HiddenField() - room = SelectField(label=_l('Room'), - validators=[InputRequired()]) + room = HiddenField() submit = SubmitField(label=_l('Submit')) class ImageDetailsForm(FlaskForm): |