mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 07:21:05 +00:00
Fix the Django example in www/content/examples/confirm.md (#2062)
This commit is contained in:
parent
2fe2f67555
commit
8d0338ade8
@ -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 %}
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user