Add account ID to trade page buttons
This commit is contained in:
parent
cd89b11611
commit
103a15f0e3
|
@ -72,7 +72,7 @@
|
||||||
{% else %}
|
{% else %}
|
||||||
<button
|
<button
|
||||||
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
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-trigger="click"
|
||||||
hx-target="#{{ type }}s-here"
|
hx-target="#{{ type }}s-here"
|
||||||
hx-swap="innerHTML"
|
hx-swap="innerHTML"
|
||||||
|
|
Loading…
Reference in New Issue