WMDE
/
eva
forked from tohe/eva
7
1
Fork 0

use DateInput Widget in ChangeForm

This commit is contained in:
Benni Bärmann 2021-02-02 10:33:51 +01:00
parent 99ea3ed37c
commit 5541000465
1 changed files with 1 additions and 0 deletions

View File

@ -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'}),}