diff options
author | Grail Finder (aider) <wohilas@gmail.com> | 2025-04-05 17:36:57 +0300 |
---|---|---|
committer | Grail Finder (aider) <wohilas@gmail.com> | 2025-04-05 17:36:57 +0300 |
commit | c2d82a17832590d86c7c243671b64df95913350e (patch) | |
tree | abaf1e843a4bb62aff01a69f34f84138e27f2806 /components | |
parent | ab6249bd1b9f16bdfdd75c7ea450f1cfd7ee8acd (diff) |
refactor: track question status using Status field instead of showNext flag
Diffstat (limited to 'components')
-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 50839f4..3efca24 100644 --- a/components/index.html +++ b/components/index.html @@ -15,7 +15,7 @@ </div> <div id="feedback" data-testid="feedback"> {{if .Correct}}{{template "feedback" .}}{{else if .Requirement}}{{template "feedback" .}}{{end}} - {{if .ShowNext}} + {{if ne .Status 0}} <button hx-get="/next-question?current_id={{.ID}}" hx-target="#ancestor" |