show right label for posts in new assignments

This commit is contained in:
Oskar Hahn 2012-06-24 22:38:42 +02:00
parent 4339c3ae8a
commit 6c66e55fc0
2 changed files with 5 additions and 5 deletions

View File

@ -20,7 +20,7 @@ from assignment.models import Assignment
class AssignmentForm(ModelForm, CssClassMixin):
posts = forms.IntegerField(min_value=1)
posts = forms.IntegerField(min_value=1, label=_("Number of available posts"))
class Meta:
model = Assignment
exclude = ('status', 'profile', 'elected')