summaryrefslogtreecommitdiffstats
path: root/ogcp/forms/action_forms.py
diff options
context:
space:
mode:
authorJavier Hernandez <jhernandez@soleta.eu>2024-02-07 10:34:25 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-02-09 13:21:55 +0100
commit6ec26d161e148d7e428ace954fb19b9edb5d4b67 (patch)
tree2d2e95f702d1e92233cb05642d0fef910ce16231 /ogcp/forms/action_forms.py
parenta609ede7a8ff94921f703ee395e3be3426a6da2d (diff)
views: add update center
add view to update center data such as its name or comment.
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 525f45b..2fd9326 100644
--- a/ogcp/forms/action_forms.py
+++ b/ogcp/forms/action_forms.py
@@ -168,6 +168,7 @@ class ImageUpdateForm(FlaskForm):
class CenterForm(FlaskForm):
server = SelectField(label=_l('Server'),
validators=[InputRequired()])
+ center = HiddenField()
name = StringField(label=_l('Center name'),
validators=[InputRequired()])
comment = StringField(label=_l('Comment'))