summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/scopes.html
diff options
context:
space:
mode:
authorJavier Hernandez <jhernandez@soleta.eu>2024-01-10 11:23:37 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-01-10 11:31:15 +0100
commit2509cacc005832b37e181f6a6a4795f5c7e1fff9 (patch)
treea8ccc3610fa773e4ea0d34a6af6cfc0be0483216 /ogcp/templates/scopes.html
parent695fcfe6255fd53b19b416e8375b48d2dc5595e4 (diff)
views: Add delete folder
Add functionality to allow the user to delete a folder. Show a confirmation page to the user listing the content of the folder that is about to delete
Diffstat (limited to 'ogcp/templates/scopes.html')
-rw-r--r--ogcp/templates/scopes.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/ogcp/templates/scopes.html b/ogcp/templates/scopes.html
index ecc8433..23b3d3c 100644
--- a/ogcp/templates/scopes.html
+++ b/ogcp/templates/scopes.html
@@ -64,6 +64,8 @@
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<input class="btn btn-light dropdown-item {% block nav_folder_add %}{% endblock %}" type="submit" value="{{ _('Add folder') }}"
form="scopesForm" formaction="{{ url_for('action_folder_add') }}" formmethod="get">
+ <input class="btn btn-light dropdown-item {% block nav_folder_delete %}{% endblock %}" type="submit" value="{{ _('Delete folder') }}"
+ form="scopesForm" formaction="{{ url_for('action_folder_delete') }}" formmethod="get">
</div>
</div>