Compare commits
No commits in common. "cbae74f041e5074a08c1dcef3b06e3dc01088406" and "ecbaed5c85b0eefbe055a213b0bf95552eb70a64" have entirely different histories.
cbae74f041
...
ecbaed5c85
|
@ -118,13 +118,14 @@ class AlertType extends AbstractType
|
||||||
|
|
||||||
->add('publishedat', DateType::class, [
|
->add('publishedat', DateType::class, [
|
||||||
'label' => 'Publier du',
|
'label' => 'Publier du',
|
||||||
"widget" => 'single_text',
|
'input' => 'datetime',
|
||||||
])
|
])
|
||||||
|
|
||||||
->add('unpublishedat', DateType::class, [
|
->add('unpublishedat', DateType::class, [
|
||||||
'label' => 'Jusqu\'au',
|
'label' => 'Jusqu\'au',
|
||||||
|
'input' => 'datetime',
|
||||||
'required' => false,
|
'required' => false,
|
||||||
"widget" => 'single_text',
|
'years' => range(date('Y'), date('Y')+10)
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue