#49: change order item form labels #50
1 changed files with 7 additions and 3 deletions
|
@ -14,9 +14,13 @@ final class OrderItemType extends AbstractType
|
||||||
public function buildForm(FormBuilderInterface $builder, array $options): void
|
public function buildForm(FormBuilderInterface $builder, array $options): void
|
||||||
{
|
{
|
||||||
$builder
|
$builder
|
||||||
->add('name')
|
->add(child: 'name', options: [
|
||||||
->add('extras')
|
'label' => 'order item',
|
||||||
->add('createdBy')
|
])
|
||||||
|
->add(child: 'extras')
|
||||||
|
->add(child: 'createdBy', options: [
|
||||||
|
'label' => 'your name',
|
||||||
|
])
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue