.
This commit is contained in:
+2
-1
@@ -5165,9 +5165,10 @@ def exam_collection_add_author(request, collection_id):
|
||||
if request.method != "POST":
|
||||
form = UsersAutocompleteForm()
|
||||
|
||||
# Render the fixed form which properly includes form data in HTMX POSTs
|
||||
return render(
|
||||
request,
|
||||
"generic/user_form.html",
|
||||
"generic/user_form_fixed.html",
|
||||
{"form": form, "collection_id": collection_id},
|
||||
)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user