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