diff options
Diffstat (limited to 'components/index.html')
-rw-r--r-- | components/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/index.html b/components/index.html index 76ba0a4..5af9278 100644 --- a/components/index.html +++ b/components/index.html @@ -17,7 +17,7 @@ {{range $index, $option := .Options}} <button hx-post="/answer" - hx-vals='{"selected": "{{$index}}", "question_id": "{{.ID}}"}' + hx-vals='{"selected": "{{$index}}", "question_id": "{{$.ID}}"}' hx-target="#ancestor" hx-swap="outerHTML" class="option-button" |