summaryrefslogtreecommitdiffstats
path: root/ogcp/forms
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-07-08 11:11:33 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-07-15 14:45:49 +0200
commit5af2b3738be739796ae98ce68a3ea9162c7248bf (patch)
tree40123ba8cc44172b9f44251a83bbfa86f5b698e3 /ogcp/forms
parent0d2f38ac4780deca0ad3a2c9fb248136bb4dfb58 (diff)
ogcp: enable modification of client ip
Add 'id' value to the /client/update payload. Enable modification for the ip input field in the client update form.
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 69149da..e72e37c 100644
--- a/ogcp/forms/action_forms.py
+++ b/ogcp/forms/action_forms.py
@@ -126,6 +126,7 @@ class FolderForm(FlaskForm):
class ClientDetailsForm(FlaskForm):
server = HiddenField()
+ client_id = HiddenField()
name = StringField(label=_l('Name'),
validators=[InputRequired()])
ip = StringField(label=_l('IP'),