Bugfix: fixed bugfix about min/max participants.

This commit is contained in:
2018-02-26 16:40:45 +01:00
parent b381bb76d9
commit aef9efa49f

View File

@@ -612,11 +612,9 @@ class RegistrationForm(EventCreateForm):
_form_title = _(u'Teilnehmer / Anmeldung')
_next_form_name = 'ChargesForm'
min_participants = forms.IntegerField(initial=0,
min_value=0,
min_participants = forms.IntegerField(min_value=0,
label=_(u'Min. Teilnehmer'))
max_participants = forms.IntegerField(initial=0,
min_value=0,
max_participants = forms.IntegerField(min_value=0,
label=_(u'Max. Teilnehmer'))
deadline = forms.ChoiceField(choices=choices.DEADLINE_CHOICES,