From bee6fa7147e8b16e9aefe8ce12744cf1047cb2ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Norman=20J=C3=A4ckel?= Date: Sun, 15 Jul 2012 22:46:20 +0200 Subject: [PATCH] Set initial value for posts in assingment. --- openslides/assignment/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openslides/assignment/forms.py b/openslides/assignment/forms.py index b771a41b4..b04a23a6d 100644 --- a/openslides/assignment/forms.py +++ b/openslides/assignment/forms.py @@ -20,7 +20,7 @@ from openslides.assignment.models import Assignment class AssignmentForm(forms.ModelForm, CssClassMixin): - posts = forms.IntegerField(min_value=1, + posts = forms.IntegerField(min_value=1, initial=1, label=_("Number of available posts")) class Meta: