diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2022-05-23 10:29:21 +0200 |
---|---|---|
committer | Javier Sánchez Parra <jsanchez@soleta.eu> | 2022-05-24 09:28:51 +0200 |
commit | d9d3d2ad5f7245eef3c990dbdeeacede2b4bf36c (patch) | |
tree | 5368a02d21c3994b572338f1e103420b98924326 /ogcp/forms | |
parent | b74820a84c7c0b14d421a271a0494fa6103ba031 (diff) |
Add repository field to "Create image" form
Let users choose which repository want to use to save the image.
Diffstat (limited to 'ogcp/forms')
-rw-r--r-- | ogcp/forms/action_forms.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py index a60115c..b94ad09 100644 --- a/ogcp/forms/action_forms.py +++ b/ogcp/forms/action_forms.py @@ -140,6 +140,8 @@ class ImageCreateForm(FlaskForm): name = StringField(label=_l('Image name'), validators=[InputRequired()]) description = StringField(label=_l('Description')) + repository = SelectField(label=_l('Repository'), choices=[], + validators=[InputRequired()]) create = SubmitField(label=_l('Create')) |