From 873bee30aa9c6385420741fb23615cf5d20daffb Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Wed, 24 Aug 2022 12:43:01 +0200 Subject: 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. --- ogcp/forms/action_forms.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ogcp/forms') 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')) -- cgit v1.2.3-18-g5258