Skip to content

Commit

Permalink
Fix hierarchy bar on assignment edit page
Browse files Browse the repository at this point in the history
  • Loading branch information
2020jbeutner committed Dec 7, 2018
1 parent 72dac7d commit 8c23ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tin/apps/assignments/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def edit_view(request, assignment_id):
else:
form = AssignmentForm(instance=assignment)

return render(request, "assignments/edit_create.html", {"form": form, "assignment": assignment, "action": "edit"})
return render(request, "assignments/edit_create.html", {"form": form, "course": assignment.course, "assignment": assignment, "action": "edit"})


@teacher_or_superuser_required
Expand Down

0 comments on commit 8c23ecd

Please sign in to comment.