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/templates/images.html | |
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/templates/images.html')
-rw-r--r-- | ogcp/templates/images.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ogcp/templates/images.html b/ogcp/templates/images.html index e198e6c..2a67e58 100644 --- a/ogcp/templates/images.html +++ b/ogcp/templates/images.html @@ -28,6 +28,6 @@ <input class="btn btn-light" type="submit" value="{{ _('Image details') }}" form="imagesForm" formaction="{{ url_for('action_image_info') }}" formmethod="get"> <input class="btn btn-light" type="submit" value="{{ _('Delete image') }}" - form="imagesForm" formaction="{{ url_for('action_image_delete') }}" formmethod="post"> + form="imagesForm" formaction="{{ url_for('action_image_delete') }}" formmethod="get"> {% endblock %} |