#49: change order item form labels
This commit is contained in:
parent
c324973d28
commit
0068654885
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
|
||||
{
|
||||
$builder
|
||||
->add('name')
|
||||
->add('extras')
|
||||
->add('createdBy')
|
||||
->add(child: 'name', options: [
|
||||
'label' => 'order item',
|
||||
])
|
||||
->add(child: 'extras')
|
||||
->add(child: 'createdBy', options: [
|
||||
'label' => 'your name',
|
||||
])
|
||||
;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue