summaryrefslogtreecommitdiffstats
path: root/ogcp/forms
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2022-08-23 17:21:22 +0200
committerJavier Sánchez Parra <jsanchez@soleta.eu>2022-09-27 09:48:35 +0200
commit3d42c2c66c5fe4cfb3fcab6847234b6e27ad4eb1 (patch)
treef97e1af2ba5ad5ccad6ab4441723de55b43520be /ogcp/forms
parentf009a188b1a8bb523fe8bc7706150438d75363a9 (diff)
Adapt Delete room to work with several ogServers
This commit makes Delete room view to use ogServer field from scopesForm to send the command to the correct ogServer.
Diffstat (limited to 'ogcp/forms')
-rw-r--r--ogcp/forms/action_forms.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py
index 092b93e..93c8075 100644
--- a/ogcp/forms/action_forms.py
+++ b/ogcp/forms/action_forms.py
@@ -176,6 +176,7 @@ class RoomForm(FlaskForm):
submit = SubmitField(label=_l('Submit'))
class DeleteRoomForm(FlaskForm):
+ server = HiddenField()
room = SelectField(label=_l('Room'),
validators=[InputRequired()])
submit = SubmitField(label=_l('Submit'))