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.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py
index eb8d309..154e9f0 100644
--- a/ogcp/forms/action_forms.py
+++ b/ogcp/forms/action_forms.py
@@ -67,3 +67,10 @@ class ClientDetailsForm(FlaskForm):
room = SelectField(label=_('Room'))
boot = SelectField(label=_('Boot Mode'))
create = SubmitField(label=_('Create'))
+
+class ImageCreateForm(FlaskForm):
+ ip = HiddenField()
+ os = SelectField(label=_('OS'), choices=[])
+ name = StringField(label=_('Image name'))
+ description = StringField(label=_('Description'))
+ create = SubmitField(label=_('Create'))