Add account ID to trade page buttons

This commit is contained in:
Mark Veidemanis 2022-12-08 07:20:46 +00:00
parent cd89b11611
commit 103a15f0e3
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 1 additions and 1 deletions

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"