delphimvcframework/samples/htmx_mustache/bin/templates/delete_person_link.mustache
2023-09-26 19:29:03 +02:00

9 lines
377 B
Plaintext

<!--<a hx-delete="/people/delete/{{guid}}" hx-confirm="Are you sure to delete {{first_name}} {{last_name}} ?" href="" hx-swap="delete" hx-target="closest tr">Delete</a>-->
<button
hx-get="/people/modal/fordelete/{{guid}}"
hx-target="#modals-here"
hx-trigger="click"
data-bs-toggle="modal"
data-bs-target="#modals-here"
class="btn btn-primary">Delete</button>