SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 95fed081 authored by George Katsikas's avatar George Katsikas :goat:
Browse files

reset EICRec remark form after submission

parent 247905e2
No related branches found
No related tags found
No related merge requests found
...@@ -182,6 +182,11 @@ def _hx_recommendation_remarks(request, identifier_w_vn_nr, rec_id): ...@@ -182,6 +182,11 @@ def _hx_recommendation_remarks(request, identifier_w_vn_nr, rec_id):
if request.method == "POST" and new_remark_form.is_valid(): if request.method == "POST" and new_remark_form.is_valid():
new_remark_form.save() new_remark_form.save()
new_remark_form = RecommendationRemarkForm(
rec_id=rec_id,
identifier_w_vn_nr=identifier_w_vn_nr,
contributor=request.user.contributor,
)
return render( return render(
request, request,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment