Pass account ID to trade CRUD helper

This commit is contained in:
2022-12-08 07:20:46 +00:00
parent 633894ae75
commit cd89b11611
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@
{% for trade_id in item %}
<button
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
hx-get="{% url 'trade_action' type=type trade_id=trade_id account_id=object.account_id %}"
hx-get="{% url 'trade_action' type=type account_id=object.account_id trade_id=trade_id %}"
hx-trigger="click"
hx-target="#modals-here"
hx-swap="innerHTML"