mise en place jquerydate sur le formulaire des annonces (ref #33524)
This commit is contained in:
parent
aac017c263
commit
57f96132f4
@ -118,14 +118,13 @@ class AlertType extends AbstractType
|
||||
|
||||
->add('publishedat', DateType::class, [
|
||||
'label' => 'Publier du',
|
||||
'input' => 'datetime',
|
||||
"widget" => 'single_text',
|
||||
])
|
||||
|
||||
->add('unpublishedat', DateType::class, [
|
||||
'label' => 'Jusqu\'au',
|
||||
'input' => 'datetime',
|
||||
'required' => false,
|
||||
'years' => range(date('Y'), date('Y')+10)
|
||||
"widget" => 'single_text',
|
||||
]);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user