diff options
Diffstat (limited to 'ogcp/forms')
-rw-r--r-- | ogcp/forms/action_forms.py | 8 |
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()]) |