diff --git a/biscuit/apps/alsijil/forms.py b/biscuit/apps/alsijil/forms.py index 8e2a4b9b8c577393d4de9d0e3694411dba2e1a68..1d45d083661fca9fc6beafc34f1e0358d819779f 100644 --- a/biscuit/apps/alsijil/forms.py +++ b/biscuit/apps/alsijil/forms.py @@ -53,7 +53,7 @@ PersonalNoteFormSet = forms.modelformset_factory( class AbsentExcusedForm(forms.Form): date_start = forms.DateField(label=_('Start date'), widget=forms.SelectDateWidget, initial=datetime.today()) date_end = forms.DateField(label=_('End date'), widget=forms.SelectDateWidget, initial=datetime.today()) - starting_lesson = forms.IntegerField(label=_('Starting lesson'), default=0) + starting_lesson = forms.IntegerField(label=_('Starting lesson'), initial=0) person = forms.ModelChoiceField(label=_('Person'), queryset=Person.objects.all(), widget=Select2Widget) absent = forms.BooleanField(label=_('Absent')) excused = forms.BooleanField(label=_('Excused'))