hacking
This commit is contained in:
parent
f8715e6c8b
commit
864910c127
4 changed files with 24 additions and 7 deletions
|
|
@ -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 %}
|
||||
|
|
|
|||
|
|
@ -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(),
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ class GovPlanDetailView(GovernmentMixin, DetailView):
|
|||
]
|
||||
|
||||
|
||||
class GovPlanProposeUpdateView(GovernmentMixin, LoginRequiredMixin, UpdateView):
|
||||
class GovPlanProposeUpdateView(GovernmentMixin, UpdateView):
|
||||
slug_url_kwarg = "plan"
|
||||
form_class = GovernmentPlanUpdateProposalForm
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue