@@ -55,9 +55,9 @@ |
||
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | return $this->render('backend/user/index.html.twig', [ |
| 58 | - 'userSearchForm' => $searchForm->createView(), |
|
| 59 | - 'all_users_by_searchfield' => $fetchedUsers |
|
| 60 | - ] |
|
| 58 | + 'userSearchForm' => $searchForm->createView(), |
|
| 59 | + 'all_users_by_searchfield' => $fetchedUsers |
|
| 60 | + ] |
|
| 61 | 61 | ); |
| 62 | 62 | } |
| 63 | 63 | |
@@ -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' => ' |
|