Fix the Django example in www/content/examples/confirm.md (#2062)

This commit is contained in:
Mia 2023-11-30 21:57:30 +01:00 committed by GitHub
parent 2fe2f67555
commit 8d0338ade8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ This allows to use `hx-confirm`'s value in the prompt which is convenient
when the question depends on the element e.g. a django list:
```html
{% for row in clients %}
{% for client in clients %}
<button hx-post="/delete/{{client.pk}}" hx-confirm="Delete {{client.name}}??">Delete</button>
{% endfor %}
```