summaryrefslogtreecommitdiffstats
path: root/ogcp/forms
diff options
context:
space:
mode:
authorJavier Hernandez <jhernandez@soleta.eu>2023-11-14 14:13:21 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2023-11-14 15:44:14 +0100
commit739ac075dcd000ffb59003e223787ad62174d643 (patch)
tree92466508dd4ae40e934f74a8c14b272441b2bcfd /ogcp/forms
parent0b210404d8befe2deb21e5156d823edcc0724c96 (diff)
views: add field 'gateway' in add-room form
Add the possibility to configure a gateway in a room.
Diffstat (limited to 'ogcp/forms')
-rw-r--r--ogcp/forms/action_forms.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py
index 75ec674..fe5280e 100644
--- a/ogcp/forms/action_forms.py
+++ b/ogcp/forms/action_forms.py
@@ -178,6 +178,8 @@ class RoomForm(FlaskForm):
validators=[InputRequired()])
netmask = StringField(label=_l('Netmask'),
validators=[InputRequired()])
+ gateway = StringField(label=_l('Gateway'),
+ validators=[InputRequired()])
submit = SubmitField(label=_l('Submit'))
class DeleteRoomForm(FlaskForm):