@@ -30,61 +30,61 @@ |
||
30 | 30 | ) |
31 | 31 | ->add( |
32 | 32 | 'content_WHAT', null, [ |
33 | - 'required' => true, |
|
34 | - 'data' => '*', |
|
35 | - 'attr' => [ |
|
36 | - 'style' => 'width: 180px;' |
|
37 | - ], |
|
38 | - 'disabled' => false, |
|
39 | - 'label' => false, |
|
40 | - 'trim' => true |
|
41 | - ] |
|
33 | + 'required' => true, |
|
34 | + 'data' => '*', |
|
35 | + 'attr' => [ |
|
36 | + 'style' => 'width: 180px;' |
|
37 | + ], |
|
38 | + 'disabled' => false, |
|
39 | + 'label' => false, |
|
40 | + 'trim' => true |
|
41 | + ] |
|
42 | 42 | ) |
43 | 43 | ->add( |
44 | 44 | 'content_FROM', ChoiceType::class, [ |
45 | - 'choices' => ['FROM' => 'FROM'], |
|
46 | - 'attr' => [ |
|
47 | - 'style' => 'width: 180px;' |
|
48 | - ], |
|
49 | - 'disabled' => true, |
|
50 | - 'label' => false, |
|
51 | - 'trim' => true |
|
52 | - ] |
|
45 | + 'choices' => ['FROM' => 'FROM'], |
|
46 | + 'attr' => [ |
|
47 | + 'style' => 'width: 180px;' |
|
48 | + ], |
|
49 | + 'disabled' => true, |
|
50 | + 'label' => false, |
|
51 | + 'trim' => true |
|
52 | + ] |
|
53 | 53 | ) |
54 | 54 | ->add( |
55 | 55 | 'content_TABLE', ChoiceType::class, [ |
56 | - 'choices' => ['caches' => 'caches', 'user' => 'user'], |
|
57 | - 'attr' => [ |
|
58 | - 'style' => 'width: 180px;' |
|
59 | - ], |
|
60 | - 'disabled' => false, |
|
61 | - 'label' => false, |
|
62 | - 'trim' => true |
|
63 | - ] |
|
56 | + 'choices' => ['caches' => 'caches', 'user' => 'user'], |
|
57 | + 'attr' => [ |
|
58 | + 'style' => 'width: 180px;' |
|
59 | + ], |
|
60 | + 'disabled' => false, |
|
61 | + 'label' => false, |
|
62 | + 'trim' => true |
|
63 | + ] |
|
64 | 64 | ) |
65 | 65 | ->add( |
66 | 66 | 'content_WHERE', ChoiceType::class, [ |
67 | - 'choices' => ['WHERE' => 'WHERE'], |
|
68 | - 'attr' => [ |
|
69 | - 'style' => 'width: 180px;' |
|
70 | - ], |
|
71 | - 'disabled' => true, |
|
72 | - 'label' => false, |
|
73 | - 'trim' => true |
|
74 | - ] |
|
67 | + 'choices' => ['WHERE' => 'WHERE'], |
|
68 | + 'attr' => [ |
|
69 | + 'style' => 'width: 180px;' |
|
70 | + ], |
|
71 | + 'disabled' => true, |
|
72 | + 'label' => false, |
|
73 | + 'trim' => true |
|
74 | + ] |
|
75 | 75 | ) |
76 | 76 | ->add( |
77 | 77 | 'content_CONDITION', null, [ |
78 | - 'required' => false, |
|
79 | - 'data' => '', |
|
80 | - 'attr' => [ |
|
81 | - 'placeholder' => 'id=\'123\'', |
|
82 | - 'style' => 'width: 180px;' |
|
83 | - ], |
|
84 | - 'disabled' => false, |
|
85 | - 'label' => false, |
|
86 | - 'trim' => true |
|
87 | - ] |
|
78 | + 'required' => false, |
|
79 | + 'data' => '', |
|
80 | + 'attr' => [ |
|
81 | + 'placeholder' => 'id=\'123\'', |
|
82 | + 'style' => 'width: 180px;' |
|
83 | + ], |
|
84 | + 'disabled' => false, |
|
85 | + 'label' => false, |
|
86 | + 'trim' => true |
|
87 | + ] |
|
88 | 88 | ) |
89 | 89 | ->add( |
90 | 90 | 'Suchen', SubmitType::class, [ |
@@ -24,22 +24,22 @@ |
||
24 | 24 | $builder |
25 | 25 | ->add( |
26 | 26 | 'content_comment_field', TextareaType::class, [ |
27 | - 'attr' => [ |
|
28 | - 'maxlength' => '100000', |
|
29 | - 'overflow' => 'auto', |
|
30 | - 'rows' => '10', |
|
31 | - ], |
|
32 | - 'required' => false, |
|
33 | - 'disabled' => false, |
|
34 | - 'label' => false, |
|
35 | - 'trim' => true |
|
36 | - ] |
|
27 | + 'attr' => [ |
|
28 | + 'maxlength' => '100000', |
|
29 | + 'overflow' => 'auto', |
|
30 | + 'rows' => '10', |
|
31 | + ], |
|
32 | + 'required' => false, |
|
33 | + 'disabled' => false, |
|
34 | + 'label' => false, |
|
35 | + 'trim' => true |
|
36 | + ] |
|
37 | 37 | ) |
38 | 38 | ->add( |
39 | 39 | 'save_comment_button', SubmitType::class, [ |
40 | - 'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'], |
|
41 | - 'label' => ' |
@@ -27,14 +27,14 @@ discard block |
||
27 | 27 | ], |
28 | 28 | 'constraints' => [ |
29 | 29 | new File([ |
30 | - 'maxSize' => '20480000', |
|
31 | - 'mimeTypes' => [ |
|
32 | - 'application/gpx+xml', |
|
33 | - 'application/xml', |
|
34 | - 'text/xml', |
|
35 | - ], |
|
36 | - 'mimeTypesMessage' => 'Please upload a valid GPX/XML document', |
|
37 | - ]) |
|
30 | + 'maxSize' => '20480000', |
|
31 | + 'mimeTypes' => [ |
|
32 | + 'application/gpx+xml', |
|
33 | + 'application/xml', |
|
34 | + 'text/xml', |
|
35 | + ], |
|
36 | + 'mimeTypesMessage' => 'Please upload a valid GPX/XML document', |
|
37 | + ]) |
|
38 | 38 | ], |
39 | 39 | 'multiple' => false, |
40 | 40 | 'required' => true, |
@@ -45,9 +45,9 @@ discard block |
||
45 | 45 | ) |
46 | 46 | ->add( |
47 | 47 | 'start_upload', SubmitType::class, [ |
48 | - 'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 100px;'], |
|
49 | - 'label' => ' |