diff options
author | Javier Hernandez <jhernandez@soleta.eu> | 2024-02-07 10:34:25 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-02-09 13:21:55 +0100 |
commit | 6ec26d161e148d7e428ace954fb19b9edb5d4b67 (patch) | |
tree | 2d2e95f702d1e92233cb05642d0fef910ce16231 /ogcp/forms/action_forms.py | |
parent | a609ede7a8ff94921f703ee395e3be3426a6da2d (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.py | 1 |
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')) |