diff options
Diffstat (limited to 'ogcp/forms')
-rw-r--r-- | ogcp/forms/action_forms.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py index b97ff4d..b4dfe7b 100644 --- a/ogcp/forms/action_forms.py +++ b/ogcp/forms/action_forms.py @@ -276,6 +276,14 @@ class ServerForm(FlaskForm): validators=[InputRequired()]) submit = SubmitField(label=_l('Submit')) +class ServerConfigurationForm(FlaskForm): + server_addr = HiddenField() + addr = FieldList( + StringField(label=_l('Address')), + label=_l('Addresses'), + ) + submit = SubmitField(label=_l('Submit')) + class DeleteRepositoryForm(FlaskForm): repository = SelectField(label=_l('Repository'), validators=[InputRequired()]) |