Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function buildForm(FormBuilderInterface $builder, array $options) |
||
15 | { |
||
16 | $builder |
||
17 | ->add('name', TextType::class, [ |
||
18 | 'label' => 'Name of the list', |
||
19 | 'label_attr' => [ |
||
20 | 'class' => 'label' |
||
21 | ], |
||
22 | 'attr' => [], |
||
23 | 'required' => true |
||
24 | ]) |
||
25 | ->add('submit', SubmitType::class, [ |
||
26 | 'label' => 'Validate', |
||
27 | 'attr' => [] |
||
28 | ]); |
||
37 | } |