From 9292eaf1cfa9daebb35cebfae077163352d24965 Mon Sep 17 00:00:00 2001 From: Patrick Mayr Date: Wed, 17 Jan 2024 17:49:43 +0000 Subject: [PATCH] add name --- fet2020/finance/forms.py | 1 + fet2020/templates/finance/resolution_create.html | 1 + 2 files changed, 2 insertions(+) diff --git a/fet2020/finance/forms.py b/fet2020/finance/forms.py index 72459e87..a3574fc6 100644 --- a/fet2020/finance/forms.py +++ b/fet2020/finance/forms.py @@ -233,6 +233,7 @@ class ResolutionCreateForm(forms.ModelForm): fields = [ "option", + "name", "date", "voting", "voting_text", diff --git a/fet2020/templates/finance/resolution_create.html b/fet2020/templates/finance/resolution_create.html index 17452de6..7c4b367d 100644 --- a/fet2020/templates/finance/resolution_create.html +++ b/fet2020/templates/finance/resolution_create.html @@ -13,6 +13,7 @@ {% include "baseform/non_field_errors.html" %} {% include "baseform/select.html" with field=form.option %} + {% include "baseform/text.html" with field=form.name %} {% include "baseform/date.html" with field=form.date %} {% include "baseform/text.html" with field=form.voting %} {% include "baseform/textarea.html" with field=form.voting_text %}