mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-24 14:06:36 +00:00
Add a now
input
This commit is contained in:
parent
eace2bf45b
commit
8be28b25bd
@ -46,6 +46,17 @@ class ResetTasksForm(forms.Form):
|
|||||||
|
|
||||||
class ScheduleTaskForm(forms.Form):
|
class ScheduleTaskForm(forms.Form):
|
||||||
|
|
||||||
|
now = forms.DateTimeField(
|
||||||
|
label=_('The current date and time'),
|
||||||
|
required=False,
|
||||||
|
widget=forms.DateTimeInput(
|
||||||
|
attrs={
|
||||||
|
'type': 'datetime-local',
|
||||||
|
'readonly': 'true',
|
||||||
|
},
|
||||||
|
),
|
||||||
|
)
|
||||||
|
|
||||||
when = forms.DateTimeField(
|
when = forms.DateTimeField(
|
||||||
label=_('When the task should run'),
|
label=_('When the task should run'),
|
||||||
required=True,
|
required=True,
|
||||||
|
Loading…
Reference in New Issue
Block a user