diff options
Diffstat (limited to 'ogcp/forms')
-rw-r--r-- | ogcp/forms/action_forms.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py index 6f3f4b9..0a9bd32 100644 --- a/ogcp/forms/action_forms.py +++ b/ogcp/forms/action_forms.py @@ -98,6 +98,12 @@ class ImageRestoreForm(FlaskForm): choices=[('TIPTORRENT', 'TIPTORRENT')]) restore = SubmitField(label=_l('Restore')) +class RepoForm(FlaskForm): + server = HiddenField() + name = StringField(label=_l('Name')) + ip = StringField(label=_l('IP')) + create = SubmitField(label=_l('Create')) + class ClientDetailsForm(FlaskForm): server = HiddenField() name = StringField(label=_l('Name')) |