Make account required for trade information

This commit is contained in:
2022-12-08 07:20:46 +00:00
parent 312ddb4dc1
commit 633894ae75
5 changed files with 15 additions and 7 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 %}"
hx-get="{% url 'trade_action' type=type trade_id=trade_id account_id=object.account_id %}"
hx-trigger="click"
hx-target="#modals-here"
hx-swap="innerHTML"