use DateInput Widget in ChangeForm
This commit is contained in:
parent
99ea3ed37c
commit
5541000465
|
@ -54,3 +54,4 @@ class ChangeForm(FdbForm):
|
||||||
model = Employee
|
model = Employee
|
||||||
fields = ['firstdate_employment', 'jobdescription_german', 'jobdescription_english',
|
fields = ['firstdate_employment', 'jobdescription_german', 'jobdescription_english',
|
||||||
'desk', 'comment', 'accounts', 'lists', 'transponder']
|
'desk', 'comment', 'accounts', 'lists', 'transponder']
|
||||||
|
widgets = {'firstdate_employment': DateInput(attrs={'type': 'date'}),}
|
||||||
|
|
Loading…
Reference in New Issue