This commit is contained in:
Jonas Heinrich 2025-04-10 08:47:00 +02:00
parent c62c1b2c1b
commit 5b4e779145
2 changed files with 16 additions and 2 deletions

View file

@ -80,8 +80,7 @@ class GovPlanDetailView(GovernmentMixin, DetailView):
"-timestamp"
)
context["section"] = self.object.get_section()
if self.request.user.is_authenticated:
context["update_proposal_form"] = GovernmentPlanUpdateProposalForm()
context["update_proposal_form"] = GovernmentPlanUpdateProposalForm()
# For CMS toolbar
self.request.govplan = self.object
return context