summaryrefslogtreecommitdiffstats
path: root/ogcp/forms
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2023-07-07 13:22:23 +0200
committerJose M. Guisado <jguisado@soleta.eu>2023-07-07 13:22:23 +0200
commitdb68dcea4660c0cbac22432b1564a494224969bf (patch)
treeb8c18e7ef0682e22443c96579e22bf12d75b6999 /ogcp/forms
parentae3f83b3c30d7ab931a20986c9b72ec3f4918def (diff)
ogcp: add backup boolean field in image updatev1.1.3
User can use this boolean field to specify if an backup copy needs to be created before updating an image. This only applies when sending a request to a client (ogClient) supporting this parameter.
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 d1789a7..75ec674 100644
--- a/ogcp/forms/action_forms.py
+++ b/ogcp/forms/action_forms.py
@@ -152,6 +152,7 @@ class ImageUpdateForm(FlaskForm):
ip = HiddenField()
os = SelectField(label=_l('Partition'), choices=[])
image = SelectField(label=_l('Image'), choices=[])
+ backup = BooleanField(label=_l('Backup'))
update = SubmitField(label=_l('Update'))