mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
layout of time widget
This commit is contained in:
parent
f7ab4824db
commit
943032a918
@ -67,7 +67,10 @@ class ActivityType extends AbstractType
|
|||||||
'widget' => 'single_text',
|
'widget' => 'single_text',
|
||||||
'format' => 'dd-MM-yyyy')
|
'format' => 'dd-MM-yyyy')
|
||||||
)
|
)
|
||||||
->add('durationTime', 'time')
|
->add('durationTime', 'time', array(
|
||||||
|
'widget' => 'text',
|
||||||
|
'hours' => array(0, 1, 2, 3, 4, 5, 6, 7, 8)
|
||||||
|
))
|
||||||
->add('remark', 'textarea', array(
|
->add('remark', 'textarea', array(
|
||||||
'required' => false,
|
'required' => false,
|
||||||
'empty_data' => ''
|
'empty_data' => ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user