diff options
Diffstat (limited to 'ogcp/forms/action_forms.py')
-rw-r--r-- | ogcp/forms/action_forms.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py index c111940..7fbaa79 100644 --- a/ogcp/forms/action_forms.py +++ b/ogcp/forms/action_forms.py @@ -126,7 +126,8 @@ class FolderForm(FlaskForm): class ClientDetailsForm(FlaskForm): server = HiddenField() - name = StringField(label=_l('Name')) + name = StringField(label=_l('Name'), + validators=[InputRequired()]) ip = StringField(label=_l('IP'), validators=[InputRequired()]) mac = StringField(label=_l('MAC'), |