diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2022-04-26 17:16:52 +0200 |
---|---|---|
committer | Javier Sánchez Parra <jsanchez@soleta.eu> | 2022-04-27 17:27:50 +0200 |
commit | 661254b76edd51c36090edd0f898bdca16f23277 (patch) | |
tree | 7882d0097515358435206a795d4f8b815965f529 /ogcp/templates/users.html | |
parent | d8bac16a980634f182e9c753a01e114c3a482af0 (diff) |
Add 'Add user' to Users section
Creates "Add user" form with the following inputs: username, password,
password confirmation, role (administrator or regular), allowed scopes.
Diffstat (limited to 'ogcp/templates/users.html')
-rw-r--r-- | ogcp/templates/users.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ogcp/templates/users.html b/ogcp/templates/users.html index c97f113..c14aae6 100644 --- a/ogcp/templates/users.html +++ b/ogcp/templates/users.html @@ -24,6 +24,8 @@ {% endblock %} {% 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"> {% if btn_back %} <button class="btn btn-danger ml-3" type="button" id="backButton" onclick="history.back()"> {{ _("Back") }} |