@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | 'to_string_callback' => function ($entity) { |
109 | 109 | return $entity->getQuestion(); |
110 | 110 | }, |
111 | - ]); |
|
111 | + ]); |
|
112 | 112 | } |
113 | 113 | |
114 | 114 | if ($this->exists('relatedPages')) { |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | 'choices' => [ |
229 | 229 | 'admin.page.metaRobots.choice.noIndex' => 'noindex', |
230 | 230 | ], |
231 | - 'label' => 'admin.page.metaRobots.label', |
|
231 | + 'label' => 'admin.page.metaRobots.label', |
|
232 | 232 | 'required' => false, |
233 | 233 | ]); |
234 | 234 | } |
@@ -246,16 +246,16 @@ discard block |
||
246 | 246 | |
247 | 247 | if ($this->exists('author')) { |
248 | 248 | $formMapper->add('author', EntityType::class, [ |
249 | - 'label' => 'admin.page.author.label', |
|
250 | - 'class' => $this->getContainer()->getParameter('app.entity_user'), 'label' => 'Auteur', |
|
251 | - 'required' => false, |
|
249 | + 'label' => 'admin.page.author.label', |
|
250 | + 'class' => $this->getContainer()->getParameter('app.entity_user'), 'label' => 'Auteur', |
|
251 | + 'required' => false, |
|
252 | 252 | ]); |
253 | 253 | } |
254 | 254 | |
255 | 255 | if ($this->exists('template')) { |
256 | 256 | $formMapper->add('template', null, [ |
257 | - 'label' => 'admin.page.template.label', |
|
258 | - 'required' => false, |
|
257 | + 'label' => 'admin.page.template.label', |
|
258 | + 'required' => false, |
|
259 | 259 | ]); |
260 | 260 | } |
261 | 261 | |
@@ -311,9 +311,9 @@ discard block |
||
311 | 311 | |
312 | 312 | if ($this->exists('author')) { |
313 | 313 | $formMapper->add('author', null, [ |
314 | - 'label' => 'admin.page.author.label', |
|
315 | - 'class' => $this->getContainer()->getParameter('app.entity_user'), |
|
316 | - 'required' => false, |
|
314 | + 'label' => 'admin.page.author.label', |
|
315 | + 'class' => $this->getContainer()->getParameter('app.entity_user'), |
|
316 | + 'required' => false, |
|
317 | 317 | ]); |
318 | 318 | } |
319 | 319 | } |