From 0db56d5eee7d7d73073e904bb41cc1960ec1e29e Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Mon, 22 Aug 2022 17:02:13 +0200 Subject: Adapt Import Clients to work with several ogServers This commit makes Import Clients 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 c81b326..40efd49 100644 --- a/ogcp/forms/action_forms.py +++ b/ogcp/forms/action_forms.py @@ -121,6 +121,7 @@ class ClientDetailsForm(FlaskForm): create = SubmitField(label=_l('Create')) class ImportClientsForm(FlaskForm): + server = HiddenField() room = SelectField(label=_l('Room')) dhcpd_conf = TextAreaField(label=_l('dhcpd configuration')) import_btn = SubmitField(label=_l('Import')) -- cgit v1.2.3-18-g5258