| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function action($template) |
||
| 32 | { |
||
| 33 | $form = $this->factory->createNamedBuilder('', FormType::class, null, ['csrf_protection' => false])->getForm(); |
||
| 34 | $form = TemplateType::buildForm($form, $template); |
||
| 35 | |||
| 36 | return new Response( |
||
| 37 | $this->templating->render('template_form.html.twig', [ |
||
| 38 | 'form' => $form->createView(), |
||
| 39 | ]) |
||
| 40 | ); |
||
| 41 | } |
||
| 42 | } |
||
| 43 |