summaryrefslogtreecommitdiffstats
path: root/ogcp/forms
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/forms')
-rw-r--r--ogcp/forms/action_forms.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py
index d1633e2..3bd3ef5 100644
--- a/ogcp/forms/action_forms.py
+++ b/ogcp/forms/action_forms.py
@@ -89,3 +89,12 @@ class ImageCreateForm(FlaskForm):
validators=[InputRequired()])
description = StringField(label=_('Description'))
create = SubmitField(label=_('Create'))
+
+class RoomForm(FlaskForm):
+ center = SelectField(label=_('Center'),
+ validators=[InputRequired()])
+ name = StringField(label=_('Room name'),
+ validators=[InputRequired()])
+ netmask = StringField(label=_('Netmask'),
+ validators=[InputRequired()])
+ submit = SubmitField(label=_('Submit'))