<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* page/new_faq.html.twig */
class __TwigTemplate_d1c907d82408c7c4a55fed6d39467980addec014b13d26648b400495969a8b61 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'googleTagManagerDataLayer' => [$this, 'block_googleTagManagerDataLayer'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "front/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "page/new_faq.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "page/new_faq.html.twig"));
$this->parent = $this->loadTemplate("front/layout.html.twig", "page/new_faq.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 2
public function block_googleTagManagerDataLayer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "googleTagManagerDataLayer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "googleTagManagerDataLayer"));
// line 3
echo " ";
$this->loadTemplate("google_tag.html.twig", "page/new_faq.html.twig", 3)->display(twig_array_merge($context, ["titlePage" => "FAQ Detail", "categoryPage" => "help and advice", "navigation_category1" => "Aide & conseils", "navigation_category2" => "", "navigation_category3" => ""]));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 5
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 6
echo " ";
$this->loadTemplate("front/header.html.twig", "page/new_faq.html.twig", 6)->display($context);
// line 7
echo " <div class=\"row_top_artb row_top_artb-these\" style=\"padding: 4vw 0;\">
<div class=\"maxw_artb row\">
<div class=\"col-12\">
<h2 style=\" margin: 0 auto;max-width: 730px;\">";
// line 10
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Comment pouvons-nous vous aider ?"), "html", null, true);
echo "</h2>
<div class=\"\" style=\" margin: 0 auto;max-width: 600px;padding-top: 20px;\">
<form method=\"post\" action=\"";
// line 12
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("faq_category");
echo "\">
<div class=\"input_cherche_faq\">
<input type=\"text\" id=\"\" value=\"\" name=\"inputChercheFaq\" class=\"for_velo \" placeholder=\"";
// line 14
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Chercher des réponses ..."), "html", null, true);
echo "\" style=\"background-image: url(";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/icon_loupe.jpeg"), "html", null, true);
echo ")\">
</div>
</form>
</div>
</div>
</div>
</div>
<div class=\"container-fluid part4 gif_img concept\">
<div class=\"ml-5 space-top-medium\">
<div class=\"vc_row wpb_row vc_row-fluid\">
<div class=\"wpb_column vc_column_container vc_col-sm-9\">
<div class=\"vc_column-inner \">
<div class=\"wpb_wrapper\">
<div class=\"vc_empty_space\" style=\"height: 45px\"><span class=\"vc_empty_space_inner\"></span></div>
";
// line 28
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["questions"]) || array_key_exists("questions", $context) ? $context["questions"] : (function () { throw new RuntimeError('Variable "questions" does not exist.', 28, $this->source); })()));
$context['_iterated'] = false;
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 29
echo "
<div class=\"vc_toggle vc_toggle_default vc_toggle_color_default vc_toggle_size_md";
// line 30
if (((twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 30) == 44) || (twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 30) == 43))) {
echo " vc_toggle_active ";
}
echo "\">
<div class=\"vc_toggle_title\">
<h4>";
// line 32
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, $context["item"], "titre", [], "any", false, false, false, 32)), "html", null, true);
echo "</h4>
<i class=\"vc_toggle_icon\"></i>
</div>
<div class=\"vc_toggle_content\" style=\"";
// line 35
if (((twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 35) == 42) || (twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 35) == 3))) {
echo "display: block; ";
}
echo "\">
";
// line 36
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, $context["item"], "description", [], "any", false, false, false, 36));
echo "
</div>
</div>
";
$context['_iterated'] = true;
}
if (!$context['_iterated']) {
// line 40
echo " <p> ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Aucune question"), "html", null, true);
echo "</p>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 42
echo " </div>
</div>
</div>
</div>
</div>
</div>
";
// line 49
$this->loadTemplate("front/footer.html.twig", "page/new_faq.html.twig", 49)->display($context);
// line 50
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "page/new_faq.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 183 => 50, 181 => 49, 172 => 42, 163 => 40, 154 => 36, 148 => 35, 142 => 32, 135 => 30, 132 => 29, 127 => 28, 108 => 14, 103 => 12, 98 => 10, 93 => 7, 90 => 6, 80 => 5, 69 => 3, 59 => 2, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'front/layout.html.twig' %}
{% block googleTagManagerDataLayer %}
{% include 'google_tag.html.twig' with {'titlePage':'FAQ Detail','categoryPage':'help and advice','navigation_category1':'Aide & conseils','navigation_category2':'','navigation_category3':'' } %}
{% endblock %}
{% block body %}
{% include 'front/header.html.twig' %}
<div class=\"row_top_artb row_top_artb-these\" style=\"padding: 4vw 0;\">
<div class=\"maxw_artb row\">
<div class=\"col-12\">
<h2 style=\" margin: 0 auto;max-width: 730px;\">{{ \"Comment pouvons-nous vous aider ?\"|trans }}</h2>
<div class=\"\" style=\" margin: 0 auto;max-width: 600px;padding-top: 20px;\">
<form method=\"post\" action=\"{{ path('faq_category') }}\">
<div class=\"input_cherche_faq\">
<input type=\"text\" id=\"\" value=\"\" name=\"inputChercheFaq\" class=\"for_velo \" placeholder=\"{{ \"Chercher des réponses ...\"|trans }}\" style=\"background-image: url({{ asset('images/icon_loupe.jpeg') }})\">
</div>
</form>
</div>
</div>
</div>
</div>
<div class=\"container-fluid part4 gif_img concept\">
<div class=\"ml-5 space-top-medium\">
<div class=\"vc_row wpb_row vc_row-fluid\">
<div class=\"wpb_column vc_column_container vc_col-sm-9\">
<div class=\"vc_column-inner \">
<div class=\"wpb_wrapper\">
<div class=\"vc_empty_space\" style=\"height: 45px\"><span class=\"vc_empty_space_inner\"></span></div>
{% for item in questions %}
<div class=\"vc_toggle vc_toggle_default vc_toggle_color_default vc_toggle_size_md{% if item.id == 44 or item.id == 43 %} vc_toggle_active {% endif %}\">
<div class=\"vc_toggle_title\">
<h4>{{ item.titre|trans }}</h4>
<i class=\"vc_toggle_icon\"></i>
</div>
<div class=\"vc_toggle_content\" style=\"{% if item.id == 42 or item.id == 3 %}display: block; {% endif %}\">
{{ item.description|trans |raw }}
</div>
</div>
{% else %}
<p> {{ \"Aucune question\"|trans }}</p>
{% endfor %}
</div>
</div>
</div>
</div>
</div>
</div>
{% include 'front/footer.html.twig' %}
{% endblock %}
", "page/new_faq.html.twig", "/home/preprodcopees/www/copees-sf/templates/page/new_faq.html.twig");
}
}