var/cache/dev/twig/09/097f890fdd9808201a6eddccb9dcd7ee.php line 41

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\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* front/forms/catalog.html.twig */
  15. class __TwigTemplate_610190fc1efe79bc27a7063619a23d5b extends Template
  16. {
  17. private $source;
  18. private $macros = [];
  19. public function __construct(Environment $env)
  20. {
  21. parent::__construct($env);
  22. $this->source = $this->getSourceContext();
  23. $this->blocks = [
  24. 'breadcrumbs' => [$this, 'block_breadcrumbs'],
  25. 'javascripts' => [$this, 'block_javascripts'],
  26. 'content' => [$this, 'block_content'],
  27. ];
  28. }
  29. protected function doGetParent(array $context)
  30. {
  31. // line 1
  32. return "front/front.html.twig";
  33. }
  34. protected function doDisplay(array $context, array $blocks = [])
  35. {
  36. $macros = $this->macros;
  37. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/forms/catalog.html.twig"));
  39. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/forms/catalog.html.twig"));
  41. $this->parent = $this->loadTemplate("front/front.html.twig", "front/forms/catalog.html.twig", 1);
  42. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  43. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45. }
  46. // line 3
  47. public function block_breadcrumbs($context, array $blocks = [])
  48. {
  49. $macros = $this->macros;
  50. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumbs"));
  52. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumbs"));
  54. // line 4
  55. yield " ";
  56. yield from $this->loadTemplate("front/layout/breadcrumbs.html.twig", "front/forms/catalog.html.twig", 4)->unwrap()->yield(CoreExtension::merge($context, ["page" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Demande de catalogue")]));
  57. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  58. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  59. return; yield '';
  60. }
  61. // line 7
  62. public function block_javascripts($context, array $blocks = [])
  63. {
  64. $macros = $this->macros;
  65. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  66. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  67. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  68. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  69. // line 8
  70. yield " <script>
  71. \$.validate({
  72. modules: 'location, date, security',
  73. lang:'fr'
  74. });
  75. </script>
  76. ";
  77. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  78. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  79. return; yield '';
  80. }
  81. // line 16
  82. public function block_content($context, array $blocks = [])
  83. {
  84. $macros = $this->macros;
  85. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  86. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  87. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  88. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  89. // line 17
  90. yield "
  91. <div id=\"catalog-query\" class=\"ctn cf\">
  92. <h1>";
  93. // line 20
  94. yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Catalogue du toilettage et de l'élevage de chien et de chat Vivog", [], "messages");
  95. yield "</h1>
  96. <div class=\"center\">
  97. <img srcset=\"/img/catalogue-ms.jpg, /img/catalogue-ms@2x.jpg 2x\" src=\"/img/catalogue-ms.jpg\" alt=\"\">
  98. </div>
  99. ";
  100. // line 26
  101. yield from $this->loadTemplate("front/layout/messages.html.twig", "front/forms/catalog.html.twig", 26)->unwrap()->yield($context);
  102. // line 27
  103. yield "
  104. ";
  105. // line 28
  106. $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 28, $this->source); })()), ["front/forms/theme.html.twig"], true);
  107. // line 29
  108. yield " <div class=\"catalog-form\">
  109. ";
  110. // line 30
  111. yield $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.', 30, $this->source); })()), 'form_start');
  112. yield "
  113. <p>Vous êtes professionnel, vous n'avez pas notre catalogue, demandez-le nous c'est gratuit :</p>
  114. <p class=\"notice\">Les champs signalés par un (*) sont obligatoires. </p>
  115. <fieldset>
  116. ";
  117. // line 34
  118. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 34, $this->source); })()), 'rest');
  119. yield "
  120. </fieldset>
  121. ";
  122. // line 36
  123. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 36, $this->source); })()), 'errors');
  124. yield "
  125. ";
  126. // line 37
  127. yield $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.', 37, $this->source); })()), 'form_end');
  128. yield "
  129. </div>
  130. <div class=\"footer-spacer\"></div>
  131. </div>
  132. ";
  133. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  134. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  135. return; yield '';
  136. }
  137. /**
  138. * @codeCoverageIgnore
  139. */
  140. public function getTemplateName()
  141. {
  142. return "front/forms/catalog.html.twig";
  143. }
  144. /**
  145. * @codeCoverageIgnore
  146. */
  147. public function isTraitable()
  148. {
  149. return false;
  150. }
  151. /**
  152. * @codeCoverageIgnore
  153. */
  154. public function getDebugInfo()
  155. {
  156. return array ( 160 => 37, 156 => 36, 151 => 34, 144 => 30, 141 => 29, 139 => 28, 136 => 27, 134 => 26, 125 => 20, 120 => 17, 110 => 16, 93 => 8, 83 => 7, 71 => 4, 61 => 3, 38 => 1,);
  157. }
  158. public function getSourceContext()
  159. {
  160. return new Source("{% extends 'front/front.html.twig' %}
  161. {% block breadcrumbs %}
  162. {% include 'front/layout/breadcrumbs.html.twig' with {'page':'Demande de catalogue'|trans} %}
  163. {% endblock %}
  164. {% block javascripts %}
  165. <script>
  166. \$.validate({
  167. modules: 'location, date, security',
  168. lang:'fr'
  169. });
  170. </script>
  171. {% endblock %}
  172. {% block content %}
  173. <div id=\"catalog-query\" class=\"ctn cf\">
  174. <h1>{% trans %}Catalogue du toilettage et de l'élevage de chien et de chat Vivog{% endtrans %}</h1>
  175. <div class=\"center\">
  176. <img srcset=\"/img/catalogue-ms.jpg, /img/catalogue-ms@2x.jpg 2x\" src=\"/img/catalogue-ms.jpg\" alt=\"\">
  177. </div>
  178. {% include 'front/layout/messages.html.twig' %}
  179. {% form_theme form 'front/forms/theme.html.twig' %}
  180. <div class=\"catalog-form\">
  181. {{ form_start(form) }}
  182. <p>Vous êtes professionnel, vous n'avez pas notre catalogue, demandez-le nous c'est gratuit :</p>
  183. <p class=\"notice\">Les champs signalés par un (*) sont obligatoires. </p>
  184. <fieldset>
  185. {{ form_rest(form) }}
  186. </fieldset>
  187. {{ form_errors(form) }}
  188. {{ form_end(form) }}
  189. </div>
  190. <div class=\"footer-spacer\"></div>
  191. </div>
  192. {% endblock %}
  193. ", "front/forms/catalog.html.twig", "/var/www/dogcat.com/v2-test/templates/front/forms/catalog.html.twig");
  194. }
  195. }