summaryrefslogtreecommitdiffstats
path: root/ogcp/forms/action_forms.py
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2022-08-24 12:43:01 +0200
committerJavier Sánchez Parra <jsanchez@soleta.eu>2022-09-27 09:48:35 +0200
commit873bee30aa9c6385420741fb23615cf5d20daffb (patch)
tree913553fdc710f957fb1f63e206371b1a11a3fc70 /ogcp/forms/action_forms.py
parent43d2df0e7d02a145f4d0b491637367b1a74d2619 (diff)
Adapt Delete center to work with several ogServers
This commit makes Delete center view to use ogServer field from scopesForm to send the command to the correct ogServer.
Diffstat (limited to 'ogcp/forms/action_forms.py')
-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 bf5c5f3..a7bb5b4 100644
--- a/ogcp/forms/action_forms.py
+++ b/ogcp/forms/action_forms.py
@@ -163,6 +163,7 @@ class CenterForm(FlaskForm):
submit = SubmitField(label=_l('Submit'))
class DeleteCenterForm(FlaskForm):
+ server = HiddenField()
center = SelectField(label=_l('Center'),
validators=[InputRequired()])
submit = SubmitField(label=_l('Submit'))