diff options
author | Grail Finder (aider) <wohilas@gmail.com> | 2025-04-05 17:05:23 +0300 |
---|---|---|
committer | Grail Finder (aider) <wohilas@gmail.com> | 2025-04-05 17:05:23 +0300 |
commit | 9c9496582a1022200e4a172a24c3818f392a3c92 (patch) | |
tree | 8a2e45e0e9b87db450b436d0ca0277f10129143d /components | |
parent | 4339bc316de419c98dc106156d2fad8784fb7c04 (diff) |
feat: Add "Try Again" message before answer submission
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 9c43a50..4b46fbf 100644 --- a/components/index.html +++ b/components/index.html @@ -14,7 +14,7 @@ {{.Text}} </div> <div id="feedback" data-testid="feedback"> - {{template "feedback" .}} + {{if not .Correct}}Try Again{{else}}{{template "feedback" .}}{{end}} {{if .ShowNext}} <button hx-get="/next-question?current_id={{.ID}}" |