summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/auth/add_user.html
blob: af44caa52c4ff7a94cce87f6e4266be68c992ec9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{% extends 'users.html' %}
{% import "bootstrap/wtf.html" as wtf %}

{% set sidebar_state = 'disabled' %}
{% set btn_back = true %}

{% block nav_user_add %}active{% endblock %}
{% block content %}

<h1 class="m-5">{{_('Add a user')}}</h1>

{{ wtf.quick_form(form,
                  action=url_for('user_add_post'),
                  method='post',
                  button_map={'submit_btn':'primary'},
                  id='user-form') }}

<script>
    document.addEventListener('readystatechange', () => {
        if (document.readyState === 'complete') {
            digestUserFormPassword()
        }
    });
</script>

{% endblock %}