mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 13:36:35 +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):
|
||||
|
||||
now = forms.DateTimeField(
|
||||
label=_('The current date and time'),
|
||||
required=False,
|
||||
widget=forms.DateTimeInput(
|
||||
attrs={
|
||||
'type': 'datetime-local',
|
||||
'readonly': 'true',
|
||||
},
|
||||
),
|
||||
)
|
||||
|
||||
when = forms.DateTimeField(
|
||||
label=_('When the task should run'),
|
||||
required=True,
|
||||
|
Loading…
Reference in New Issue
Block a user