Skip to content
Snippets Groups Projects
Commit 8a5c509e authored by Julian's avatar Julian
Browse files

Restructure Form

parent e6218fe3
No related branches found
No related tags found
1 merge request!48Review use of Materialize
......@@ -81,6 +81,11 @@ PersonalNoteFormSet = forms.modelformset_factory(
class RegisterAbsenceForm(forms.Form):
layout = Layout(Row("date_start", "date_end"),
Row("from_period", "absent", "excused"),
Row("person"),
Row("remarks")
)
date_start = forms.DateField(
label=_("Start date"), initial=datetime.today
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment