diff options
author | Grail Finder (aider) <wohilas@gmail.com> | 2025-03-29 14:44:08 +0300 |
---|---|---|
committer | Grail Finder (aider) <wohilas@gmail.com> | 2025-03-29 14:44:08 +0300 |
commit | 194e66b403fd6cb101707c26908c1bc6d81a6555 (patch) | |
tree | 48f1f497ec86f746403e28541c520a4bc7a4f18f /components/index.html | |
parent | 01a128d9f93960599c0f20beb640b5b035015893 (diff) |
feat: add answer handler with question ID tracking
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 5626dbd..0c51047 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}}"}' + hx-vals='{"selected": "{{$index}}", "question_id": "{{.ID}}"}' hx-target="#ancestor" hx-swap="outerHTML" class="option-button" |