summaryrefslogtreecommitdiffstats
path: root/ogcp/forms/action_forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/forms/action_forms.py')
-rw-r--r--ogcp/forms/action_forms.py7
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'))