<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* front/forms/catalog.html.twig */
class __TwigTemplate_610190fc1efe79bc27a7063619a23d5b extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'breadcrumbs' => [$this, 'block_breadcrumbs'],
'javascripts' => [$this, 'block_javascripts'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "front/front.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/forms/catalog.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/forms/catalog.html.twig"));
$this->parent = $this->loadTemplate("front/front.html.twig", "front/forms/catalog.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_breadcrumbs($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumbs"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumbs"));
// line 4
yield " ";
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")]));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 7
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 8
yield " <script>
\$.validate({
modules: 'location, date, security',
lang:'fr'
});
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 16
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 17
yield "
<div id=\"catalog-query\" class=\"ctn cf\">
<h1>";
// line 20
yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Catalogue du toilettage et de l'élevage de chien et de chat Vivog", [], "messages");
yield "</h1>
<div class=\"center\">
<img srcset=\"/img/catalogue-ms.jpg, /img/catalogue-ms@2x.jpg 2x\" src=\"/img/catalogue-ms.jpg\" alt=\"\">
</div>
";
// line 26
yield from $this->loadTemplate("front/layout/messages.html.twig", "front/forms/catalog.html.twig", 26)->unwrap()->yield($context);
// line 27
yield "
";
// line 28
$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);
// line 29
yield " <div class=\"catalog-form\">
";
// line 30
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');
yield "
<p>Vous êtes professionnel, vous n'avez pas notre catalogue, demandez-le nous c'est gratuit :</p>
<p class=\"notice\">Les champs signalés par un (*) sont obligatoires. </p>
<fieldset>
";
// line 34
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');
yield "
</fieldset>
";
// line 36
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');
yield "
";
// line 37
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');
yield "
</div>
<div class=\"footer-spacer\"></div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "front/forms/catalog.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'front/front.html.twig' %}
{% block breadcrumbs %}
{% include 'front/layout/breadcrumbs.html.twig' with {'page':'Demande de catalogue'|trans} %}
{% endblock %}
{% block javascripts %}
<script>
\$.validate({
modules: 'location, date, security',
lang:'fr'
});
</script>
{% endblock %}
{% block content %}
<div id=\"catalog-query\" class=\"ctn cf\">
<h1>{% trans %}Catalogue du toilettage et de l'élevage de chien et de chat Vivog{% endtrans %}</h1>
<div class=\"center\">
<img srcset=\"/img/catalogue-ms.jpg, /img/catalogue-ms@2x.jpg 2x\" src=\"/img/catalogue-ms.jpg\" alt=\"\">
</div>
{% include 'front/layout/messages.html.twig' %}
{% form_theme form 'front/forms/theme.html.twig' %}
<div class=\"catalog-form\">
{{ form_start(form) }}
<p>Vous êtes professionnel, vous n'avez pas notre catalogue, demandez-le nous c'est gratuit :</p>
<p class=\"notice\">Les champs signalés par un (*) sont obligatoires. </p>
<fieldset>
{{ form_rest(form) }}
</fieldset>
{{ form_errors(form) }}
{{ form_end(form) }}
</div>
<div class=\"footer-spacer\"></div>
</div>
{% endblock %}
", "front/forms/catalog.html.twig", "/var/www/dogcat.com/v2-test/templates/front/forms/catalog.html.twig");
}
}