{% macro collectionRow(form, disposition, refreshPath) %} {% set inputAttr = { 'hx-post': refreshPath, 'hx-target': '#invoice-editor-form', 'hx-swap': 'outerHTML', 'hx-sync': 'closest form:replace', 'hx-trigger': 'focusout, change', } %}