summaryrefslogtreecommitdiffstats
path: root/ogcp/forms/action_forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/forms/action_forms.py')
-rw-r--r--ogcp/forms/action_forms.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py
index 5e8bce1..5cabd54 100644
--- a/ogcp/forms/action_forms.py
+++ b/ogcp/forms/action_forms.py
@@ -137,6 +137,14 @@ class ImageCreateForm(FlaskForm):
description = StringField(label=_l('Description'))
create = SubmitField(label=_l('Create'))
+
+class ImageUpdateForm(FlaskForm):
+ ip = HiddenField()
+ os = SelectField(label=_l('Partition'), choices=[])
+ image = SelectField(label=_l('Image'), choices=[])
+ update = SubmitField(label=_l('Update'))
+
+
class CenterForm(FlaskForm):
name = StringField(label=_l('Center name'),
validators=[InputRequired()])