mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-04 10:14:44 +02:00
Use a custom delete confirmation message for part associations
This commit is contained in:
parent
c8bd800b9f
commit
626c4dd5d6
2 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
{% form_theme form with ['parts/edit/edit_form_styles.html.twig'] %}
|
||||
{% import 'components/collection_type.macro.html.twig' as collection %}
|
||||
|
||||
<div {{ collection.controller(form.associated_parts_as_owner, 'part_lot.edit.delete.confirm') }}>
|
||||
<div {{ collection.controller(form.associated_parts_as_owner, 'part_association.edit.delete.confirm') }}>
|
||||
<table class="table table-striped table-sm" id="association_table" {{ collection.target() }}>
|
||||
<tbody>
|
||||
{% for assoc in form.associated_parts_as_owner %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue