{# One expense-account row, read from a loop-bound `row` view-model (account-row-vm). The account typeahead, location select, and remove button all reuse the shared component partials (typeahead.html / location-select.html / a-icon-button via its ctx); only the table layout is inline. The location cell (#account-location-N) swaps just itself on account change; the remove button swaps the whole #bulk-code-form. #}
{% with x_data=row.account.x_data x_model=row.account.x_model key=row.account.key disabled=row.account.disabled a_class=row.account.a_class a_xinit=row.account.a_xinit search_class=row.account.search_class placeholder=row.account.placeholder hidden_attrs=row.account.hidden_attrs %}{% include "templates/components/typeahead.html" %}{% endwith %}

{{ row.account_error }}

{% with name=row.location.name classes=row.location.classes options=row.location.options %}{% include "templates/components/location-select.html" %}{% endwith %}

{{ row.location_error }}

{{ row.pct_error }}

{% include "templates/components/svg-x.html" %}