Added the possibility to delete AttachmentTypes recusivly.

This commit is contained in:
Jan Böhmer 2019-04-20 19:37:24 +02:00
parent d5017583e5
commit 3d28b0cc66
3 changed files with 123 additions and 8 deletions

View file

@ -7,6 +7,10 @@
<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>
<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>
</div>
</div>
</div>
</form>