summaryrefslogtreecommitdiffstats
path: root/ogcp/forms
diff options
context:
space:
mode:
authorJavier Hernandez <jhernandez@soleta.eu>2023-11-22 12:42:33 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2023-11-23 10:21:22 +0100
commit3a0cdbda5a7f711d23ef4680f553800780f8f7ae (patch)
treed7a73601d33d57215a6e0727af9be6f558e4a9c5 /ogcp/forms
parent739ac075dcd000ffb59003e223787ad62174d643 (diff)
src: Remove netdriver field in client form
Remove netdriver field from forms used to add or update a client. At the time of creating (or updating) a client, ogCP uses a hardcoded value for this field of the payload. This field is not used by oglive in any way, remove it.
Diffstat (limited to 'ogcp/forms')
-rw-r--r--ogcp/forms/action_forms.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py
index fe5280e..4a18738 100644
--- a/ogcp/forms/action_forms.py
+++ b/ogcp/forms/action_forms.py
@@ -113,8 +113,6 @@ class ClientDetailsForm(FlaskForm):
choices=[('eth0', 'eth0'),
('eth1', 'eth1'),
('eth2', 'eth2')])
- netdriver = SelectField(label=_l('Driver'),
- choices=[('generic', 'generic')])
repo = SelectField(label=_l('Repository'),
choices=[(1, 'Default')])
room = SelectField(label=_l('Room'))