mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 18:58:46 +02:00
Fixed recursive delete checkbox on admin pages.
This commit is contained in:
parent
c4fe9d9fb5
commit
fe9526e0eb
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
<div class=""></div>
|
||||
<div class="col offset-3 pl-2">
|
||||
<button class="btn btn-danger" {% if not is_granted("delete", entity) %}disabled{% endif %}">{% trans %}entity.delete{% endtrans %}</button>
|
||||
{% if entity is instanceof('\App\Entity\StructuralDBElement') %}
|
||||
{% if entity.parent is defined %}
|
||||
<div class="ml-2 custom-control custom-checkbox custom-control-inline">
|
||||
<input type="checkbox" class="custom-control-input" id="recursive" name="delete_recursive">
|
||||
<label class="custom-control-label" for="recursive">{% trans %}entity.delete.recursive{% endtrans %}</label>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue