From 5541000465adff7f3a6c722b33546c778f29ac06 Mon Sep 17 00:00:00 2001 From: Benni Baermann Date: Tue, 2 Feb 2021 10:33:51 +0100 Subject: [PATCH] use DateInput Widget in ChangeForm --- evapp/forms.py | 1 + 1 file changed, 1 insertion(+) diff --git a/evapp/forms.py b/evapp/forms.py index 69ccbdb..a6b7fe9 100644 --- a/evapp/forms.py +++ b/evapp/forms.py @@ -54,3 +54,4 @@ class ChangeForm(FdbForm): model = Employee fields = ['firstdate_employment', 'jobdescription_german', 'jobdescription_english', 'desk', 'comment', 'accounts', 'lists', 'transponder'] + widgets = {'firstdate_employment': DateInput(attrs={'type': 'date'}),}