mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
Improve rendering of options and fields
This commit is contained in:
@@ -96,10 +96,13 @@ class CustomFieldTitle implements CustomFieldInterface
|
||||
public function buildOptionsForm(FormBuilderInterface $builder)
|
||||
{
|
||||
return $builder->add(self::TYPE, 'choice',
|
||||
array('choices' => array(
|
||||
self::TYPE_TITLE => self::TYPE_TITLE,
|
||||
self::TYPE_SUBTITLE => self::TYPE_SUBTITLE
|
||||
))
|
||||
array(
|
||||
'choices' => array(
|
||||
self::TYPE_TITLE => 'Main title',
|
||||
self::TYPE_SUBTITLE => 'Subtitle'
|
||||
),
|
||||
'label' => 'Title level'
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user