#49: change order item form labels
All checks were successful
/ ls (pull_request) Successful in 36s
/ ls (push) Successful in 36s
/ ls (release) Successful in 25s

This commit is contained in:
Jonas 2024-08-15 16:33:13 +02:00
parent c324973d28
commit 0068654885
Signed by: lubiana
SSH key fingerprint: SHA256:gkqM8DUX4Blf6P52fycW8ISTd+4eAHH+Uzu9iyc8hAM

View file

@ -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',
])
; ;
} }