summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/users.html
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2022-04-27 17:21:09 +0200
committerJavier Sánchez Parra <jsanchez@soleta.eu>2022-04-27 17:34:36 +0200
commit72c10e15298aef311eed2aeb4774bf78029ea075 (patch)
tree19ecae9e6c809118af0c58af6c21c135496a08dc /ogcp/templates/users.html
parenteb8ddd236acac593cce7c341d84a5ab3da834aff (diff)
Add 'Delete user' to Users sectionv0.9.2
Creates "Delete user" form. The user to be deleted is selected from the sidebar in Users section.
Diffstat (limited to 'ogcp/templates/users.html')
-rw-r--r--ogcp/templates/users.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/ogcp/templates/users.html b/ogcp/templates/users.html
index 6dd056b..bd8e450 100644
--- a/ogcp/templates/users.html
+++ b/ogcp/templates/users.html
@@ -28,6 +28,8 @@
form="usersForm" formaction="{{ url_for('user_add_get') }}" formmethod="get">
<input class="btn btn-light {% block nav_user_edit %}{% endblock %}" type="submit" value="{{ _('Edit user') }}"
form="usersForm" formaction="{{ url_for('user_edit_get') }}" formmethod="get">
+ <input class="btn btn-light {% block nav_user_delete %}{% endblock %}" type="submit" value="{{ _('Delete user') }}"
+ form="usersForm" formaction="{{ url_for('user_delete_get') }}" formmethod="get">
{% if btn_back %}
<button class="btn btn-danger ml-3" type="button" id="backButton" onclick="history.back()">
{{ _("Back") }}