mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-15 12:54:30 +02:00
Added an checkbox to change all operations of a permission.
This commit is contained in:
parent
ac302ab16a
commit
35dd1fabc0
3 changed files with 36 additions and 1 deletions
|
@ -1,7 +1,21 @@
|
|||
{% block permission_row %}
|
||||
<tr>
|
||||
<td>
|
||||
<b>{{ form.vars.label | trans }}</b>
|
||||
{% if multi_checkbox %}
|
||||
|
||||
<div class="custom-control custom-checkbox">
|
||||
<input type="checkbox" class="custom-control-input tristate permission_multicheckbox" id="mulit_check_{{ form.vars.label }}">
|
||||
<label class="custom-control-label" for="mulit_check_{{ form.vars.label }}">
|
||||
<b>{{ form.vars.label | trans }}</b>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
{% else %}
|
||||
<b>{{ form.vars.label | trans }}</b>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{# #}
|
||||
{{ form_errors(form) }}
|
||||
</td>
|
||||
<td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue