This commit is contained in:
Jonas Heinrich 2025-04-12 17:58:40 +02:00
parent f8715e6c8b
commit 864910c127
4 changed files with 24 additions and 7 deletions

View file

@ -108,6 +108,17 @@
.bd-mode-toggle .dropdown-menu .active .bi {
display: block !important;
}
.card {
height: 100%;
display: flex;
flex-direction: column;
}
.card-body {
flex-grow: 1;
display: flex;
flex-direction: column;
}
</style>
{% block extra_css %}
{% endblock %}

View file

@ -22,6 +22,11 @@ urlpatterns = [
GovPlanProposeUpdateView.as_view(),
name="propose_planupdate",
),
path(
pgettext_lazy("url part", "<slug:gov>/vorhaben/<slug:plan>/entwicklung-melden/"),
GovPlanProposeUpdateView.as_view(),
name="propose_planupdate",
),
path(
pgettext_lazy("url part", "<slug:gov>/<slug:section>/"),
GovPlanSectionDetailView.as_view(),

View file

@ -99,7 +99,7 @@ class GovPlanDetailView(GovernmentMixin, DetailView):
]
class GovPlanProposeUpdateView(GovernmentMixin, LoginRequiredMixin, UpdateView):
class GovPlanProposeUpdateView(GovernmentMixin, UpdateView):
slug_url_kwarg = "plan"
form_class = GovernmentPlanUpdateProposalForm