Add account ID to trade page buttons
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user