Compare commits
2 Commits
ecbaed5c85
...
cbae74f041
Author | SHA1 | Date |
---|---|---|
Arnaud Fornerot | cbae74f041 | |
afornerot | 57f96132f4 |
|
@ -118,14 +118,13 @@ class AlertType extends AbstractType
|
||||||
|
|
||||||
->add('publishedat', DateType::class, [
|
->add('publishedat', DateType::class, [
|
||||||
'label' => 'Publier du',
|
'label' => 'Publier du',
|
||||||
'input' => 'datetime',
|
"widget" => 'single_text',
|
||||||
])
|
])
|
||||||
|
|
||||||
->add('unpublishedat', DateType::class, [
|
->add('unpublishedat', DateType::class, [
|
||||||
'label' => 'Jusqu\'au',
|
'label' => 'Jusqu\'au',
|
||||||
'input' => 'datetime',
|
|
||||||
'required' => false,
|
'required' => false,
|
||||||
'years' => range(date('Y'), date('Y')+10)
|
"widget" => 'single_text',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue