show right label for posts in new assignments
This commit is contained in:
parent
4339c3ae8a
commit
6c66e55fc0
@ -20,7 +20,7 @@ from assignment.models import Assignment
|
|||||||
|
|
||||||
|
|
||||||
class AssignmentForm(ModelForm, CssClassMixin):
|
class AssignmentForm(ModelForm, CssClassMixin):
|
||||||
posts = forms.IntegerField(min_value=1)
|
posts = forms.IntegerField(min_value=1, label=_("Number of available posts"))
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Assignment
|
model = Assignment
|
||||||
exclude = ('status', 'profile', 'elected')
|
exclude = ('status', 'profile', 'elected')
|
||||||
|
Loading…
Reference in New Issue
Block a user