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 1ee7b72..b1da58b 100644 --- a/ogcp/forms/action_forms.py +++ b/ogcp/forms/action_forms.py @@ -185,3 +185,10 @@ class ImageDetailsForm(FlaskForm): modified = StringField(label=_l('Modified')) permissions = StringField(label=_l('Permissions')) software_id = StringField(label=_l('Software id')) + +class RepositoryForm(FlaskForm): + name = StringField(label=_l('Name'), + validators=[InputRequired()]) + ip = StringField(label=_l('IP'), + validators=[InputRequired()]) + submit = SubmitField(label=_l('Submit')) |