diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2022-01-27 16:51:35 +0100 |
---|---|---|
committer | Jose M. Guisado <jguisado@soleta.eu> | 2022-01-27 16:51:35 +0100 |
commit | 31b1e920772ce6dd56f3f56b5a882c2f71333c13 (patch) | |
tree | acd9cab08f7a7fb5691828be7394d3fbf0c76855 /ogcp/forms | |
parent | b566528012aabfc435f82525d84471ab7bbcff74 (diff) |
Add confirmation page when deleting image
User can confirm when deleting an image by double checking the
information displayed on this page.
Adds a new optional field in GenericForm: 'ids'. Used when dealing with
ids instead of ips.
Diffstat (limited to 'ogcp/forms')
-rw-r--r-- | ogcp/forms/action_forms.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py index 09197d5..a2cac37 100644 --- a/ogcp/forms/action_forms.py +++ b/ogcp/forms/action_forms.py @@ -17,6 +17,7 @@ from flask_babel import _ class GenericForm(FlaskForm): ips = HiddenField() + ids = HiddenField() submit = SubmitField(label=_l('Submit')) |