@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | 'to_string_callback' => function ($entity) { |
160 | 160 | return $entity->getQuestion(); |
161 | 161 | }, |
162 | - ]); |
|
162 | + ]); |
|
163 | 163 | } |
164 | 164 | |
165 | 165 | //var_dump($this->getContainer()->getParameter('app.entity_page')); exit; |
@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | 'choices' => [ |
218 | 218 | 'admin.page.metaRobots.choice.noIndex' => 'no-index, no-follow', |
219 | 219 | ], |
220 | - 'label' => 'admin.page.metaRobots.label', |
|
220 | + 'label' => 'admin.page.metaRobots.label', |
|
221 | 221 | 'required' => false, |
222 | 222 | ]); |
223 | 223 | } |
@@ -236,16 +236,16 @@ discard block |
||
236 | 236 | |
237 | 237 | if ($this->exists('author')) { |
238 | 238 | $formMapper->add('author', EntityType::class, [ |
239 | - 'label' => 'admin.page.author.label', |
|
240 | - 'class' => $this->getContainer()->getParameter('app.entity_user'), 'label' => 'Auteur', |
|
241 | - 'required' => false, |
|
239 | + 'label' => 'admin.page.author.label', |
|
240 | + 'class' => $this->getContainer()->getParameter('app.entity_user'), 'label' => 'Auteur', |
|
241 | + 'required' => false, |
|
242 | 242 | ]); |
243 | 243 | } |
244 | 244 | |
245 | 245 | if ($this->exists('template')) { |
246 | 246 | $formMapper->add('template', null, [ |
247 | - 'label' => 'admin.page.template.label', |
|
248 | - 'required' => false, |
|
247 | + 'label' => 'admin.page.template.label', |
|
248 | + 'required' => false, |
|
249 | 249 | ]); |
250 | 250 | } |
251 | 251 | |
@@ -292,9 +292,9 @@ discard block |
||
292 | 292 | |
293 | 293 | if ($this->exists('author')) { |
294 | 294 | $formMapper->add('author', null, [ |
295 | - 'label' => 'admin.page.author.label', |
|
296 | - 'class' => $this->getContainer()->getParameter('app.entity_user'), |
|
297 | - 'required' => false, |
|
295 | + 'label' => 'admin.page.author.label', |
|
296 | + 'class' => $this->getContainer()->getParameter('app.entity_user'), |
|
297 | + 'required' => false, |
|
298 | 298 | ]); |
299 | 299 | } |
300 | 300 | } |