summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/users.html
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2022-04-27 17:19:54 +0200
committerJavier Sánchez Parra <jsanchez@soleta.eu>2022-04-27 17:34:26 +0200
commiteb8ddd236acac593cce7c341d84a5ab3da834aff (patch)
tree95bc0dbb0d8b62fe5370c11ee46784d26c43c5f4 /ogcp/templates/users.html
parent661254b76edd51c36090edd0f898bdca16f23277 (diff)
Add 'Edit user' to Users section
Creates "Edit user" form with the following inputs: password, password confirmation, role (administrator or regular), allowed scopes. It does no allow to change/edit the username.
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 c14aae6..6dd056b 100644
--- a/ogcp/templates/users.html
+++ b/ogcp/templates/users.html
@@ -26,6 +26,8 @@
{% block commands %}
<input class="btn btn-light {% block nav_user_add %}{% endblock %}" type="submit" value="{{ _('Add user') }}"
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">
{% if btn_back %}
<button class="btn btn-danger ml-3" type="button" id="backButton" onclick="history.back()">
{{ _("Back") }}