Simplify DB object management with Django CRUD helpers
This commit is contained in:
@@ -41,7 +41,8 @@
|
||||
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
||||
hx-delete="#trade-close-confirm"
|
||||
hx-trigger="click"
|
||||
hx-target="#accounts-table"
|
||||
hx-target="#positions-table"
|
||||
hx-confirm="Are you sure you wish to close {{ item.symbol }}?"
|
||||
class="button is-danger">
|
||||
<span class="icon-text">
|
||||
<span class="icon">
|
||||
|
||||
Reference in New Issue
Block a user