Delete pool
This commit is contained in:
parent
7553dd31dc
commit
261623960e
7 changed files with 100 additions and 26 deletions
|
|
@ -106,6 +106,16 @@
|
|||
value="true"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<button
|
||||
hx-confirm="Are you sure that you want to delete this pool? This can't be undone!"
|
||||
hx-delete="/pool/{{ pool.id }}"
|
||||
hx-target="body"
|
||||
hx-replace-url="/"
|
||||
>
|
||||
Delete pool
|
||||
</button>
|
||||
</div>
|
||||
</article>
|
||||
{% endif %}
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue