Add account ID to trade page buttons

This commit is contained in:
2022-12-08 07:20:46 +00:00
parent cd89b11611
commit 103a15f0e3

View File

@@ -72,7 +72,7 @@
{% else %}
<button
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
hx-get="{% url 'trade_action' type=type trade_id=item.id %}"
hx-get="{% url 'trade_action' type=type account_id=item.account.id trade_id=item.id %}"
hx-trigger="click"
hx-target="#{{ type }}s-here"
hx-swap="innerHTML"