mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-31 00:04:40 +02:00
Use stimulus collection controller for partLots
This commit is contained in:
parent
537b7fad7f
commit
66b7b2e9bf
6 changed files with 41 additions and 59 deletions
|
@ -1,7 +1,7 @@
|
|||
{% macro controller(form, deleteMessage) %}
|
||||
{{ stimulus_controller('elements/collection_type', {
|
||||
'deleteMessage': 'parameter.delete.confirm'|trans,
|
||||
'prototype': form_widget(form.parameters.vars.prototype)|e('html_attr')
|
||||
'prototype': form_widget(form.vars.prototype)|e('html_attr')
|
||||
}) }}
|
||||
{% endmacro %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue