mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-21 19:34:54 +02:00
Allow to change the permissions for users.
This commit is contained in:
parent
8e61b06abc
commit
7390f2eccd
18 changed files with 933 additions and 8 deletions
|
@ -6,10 +6,21 @@
|
|||
|
||||
{% block comment %}{% endblock %}
|
||||
|
||||
{% block additional_pills %}
|
||||
<li class="nav-item"><a data-toggle="tab" class="nav-link link-anchor" href="#tab_permissions">{% trans %}admin.options{% endtrans %}</a></li>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block additional_controls %}
|
||||
{{ form_row(form.group) }}
|
||||
{{ form_row(form.first_name) }}
|
||||
{{ form_row(form.last_name) }}
|
||||
{{ form_row(form.email) }}
|
||||
{{ form_row(form.department) }}
|
||||
{% endblock %}
|
||||
|
||||
{% block additional_panes %}
|
||||
<div class="tab-pane" id="tab_permissions">
|
||||
{{ form_row(form.permissions) }}
|
||||
</div>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue