var/cache/dev/twig/06/0624d09cf6eadaee15214a83d9bbdebf.php line 53

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\MacroNamespace;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Sandbox\SecurityNotAllowedTestError;
  14. use Twig\Source;
  15. use Twig\Template;
  16. use Twig\TemplateWrapper;
  17. /* Form/search_form.html.twig */
  18. class __TwigTemplate_7bdba6a3359c660b97121528842121b0 extends Template
  19. {
  20. private Source $source;
  21. /**
  22. * @var array<string, MacroNamespace>
  23. */
  24. private array $macros = [];
  25. public function __construct(Environment $env)
  26. {
  27. parent::__construct($env);
  28. $this->source = $this->getSourceContext();
  29. $this->parent = false;
  30. $this->blocks = [
  31. ];
  32. }
  33. protected function doDisplay(array $context, array $blocks = []): iterable
  34. {
  35. $macros = $this->macros;
  36. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Form/search_form.html.twig"));
  38. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Form/search_form.html.twig"));
  40. // line 1
  41. yield "<div class=\"search-form\" id=\"global-search\">
  42. ";
  43. // line 2
  44. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 2, $this->source); })()), 'form_start');
  45. yield "
  46. <div class=\"input-nav-content\">
  47. ";
  48. // line 4
  49. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 4, $this->source); })()), "thematic", [], "any", false, false, false, 4), 'row');
  50. yield "
  51. </div>
  52. ";
  53. // line 7
  54. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 7, $this->source); })()), 'form_end');
  55. yield "
  56. </div>
  57. ";
  58. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  59. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  60. return; yield;
  61. }
  62. /**
  63. * @codeCoverageIgnore
  64. */
  65. public function getTemplateName(): string
  66. {
  67. return "Form/search_form.html.twig";
  68. }
  69. /**
  70. * @codeCoverageIgnore
  71. */
  72. public function isTraitable(): bool
  73. {
  74. return false;
  75. }
  76. /**
  77. * @codeCoverageIgnore
  78. */
  79. public function getDefaultEscapeStrategy(): string|false
  80. {
  81. return "html";
  82. }
  83. /**
  84. * @codeCoverageIgnore
  85. */
  86. public function getDebugInfo(): array
  87. {
  88. return array ( 64 => 7, 58 => 4, 53 => 2, 50 => 1,);
  89. }
  90. public function getSourceContext(): Source
  91. {
  92. return new Source("<div class=\"search-form\" id=\"global-search\">
  93. {{ form_start(form) }}
  94. <div class=\"input-nav-content\">
  95. {{ form_row(form.thematic) }}
  96. </div>
  97. {{ form_end(form) }}
  98. </div>
  99. ", "Form/search_form.html.twig", "/var/www/html/templates/Form/search_form.html.twig");
  100. }
  101. }