Fix template path for question review block and remove unnecessary form wrapper to prevent nested forms

This commit is contained in:
Ross
2025-10-27 11:27:59 +00:00
parent 74c5f4d8fd
commit a38c31ca87
2 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -3007,7 +3007,7 @@ class GenericViewBase:
# Default: render the block (latest if exists, otherwise form)
if latest:
return render(request, "/generic/partials/question_review_block.html", {"review": latest, "question": question, "app_name": self.app_name})
return render(request, "generic/partials/question_review_block.html", {"review": latest, "question": question, "app_name": self.app_name})
else:
# Ensure a form is available for the template
if latest: