Add some reworks to Vision
This commit is contained in:
@@ -17,19 +17,9 @@ class CriminalType extends DocumentType
|
||||
|
||||
$builder
|
||||
|
||||
->add('article', null, ['label' => 'form_label_article', 'help' => 'form_help_article'])
|
||||
->add('content', ContentType::class, ['label' => 'form_label_informations' ])
|
||||
->add('amountMoney', null, ['label' => 'form_label_amount', 'help' => 'form_help_amount'])
|
||||
->add('amountTime', null, ['label' => 'form_label_time', 'help' => 'form_help_time'])
|
||||
->add(
|
||||
'accessorySentence',
|
||||
ContentType::class,
|
||||
['label' => 'form_label_accessorySentence',
|
||||
'help' => 'form_help_accessorySentence',
|
||||
'required' => false,
|
||||
'attr' => ['style' => 'height: 200px;']
|
||||
]
|
||||
)
|
||||
->add('content', ContentType::class, ['label' => 'form_label_informations', 'required' => false ])
|
||||
;
|
||||
}
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ class FirstnameType extends AbstractType
|
||||
{
|
||||
$resolver->setDefaults([
|
||||
'attr' => ['placeholder' => 'form_placeholder_firstname'],
|
||||
'help' => 'form_help_firstname',
|
||||
'label' => false
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -12,7 +12,6 @@ class LastnameType extends AbstractType
|
||||
{
|
||||
$resolver->setDefaults([
|
||||
'attr' => ['placeholder' => 'form_placeholder_lastname'],
|
||||
'help' => 'form_help_lastname',
|
||||
'label' => false
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user