mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 21:46:44 +00:00
Use a widget to select when
in the browser
This commit is contained in:
parent
cb36f44235
commit
12cdcdec96
@ -49,6 +49,13 @@ class ScheduleTaskForm(forms.Form):
|
||||
when = forms.DateTimeField(
|
||||
label=_('When the task should run'),
|
||||
required=True,
|
||||
#widget=forms.SplitDateTimeWidget(
|
||||
# date_attrs={'type': 'date'},
|
||||
# time_attrs={'type': 'time'},
|
||||
#),
|
||||
widget=forms.DateTimeInput(
|
||||
attrs={'type': 'datetime-local'},
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user