var/cache/dev/twig/35/350373d01a268ea2ce9d02d0574d2a29.php line 50

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* front/pages/foire_questions.html.twig */
  14. class __TwigTemplate_9b0784a01c4b64f48ff4ab9dccd46f10 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'bodyClass' => [$this'block_bodyClass'],
  24.             'content' => [$this'block_content'],
  25.             'faq' => [$this'block_faq'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "layouts/front.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  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""front/pages/foire_questions.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""front/pages/foire_questions.html.twig"));
  40.         $this->parent $this->loadTemplate("layouts/front.html.twig""front/pages/foire_questions.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 3
  48.     public function block_bodyClass($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyClass"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyClass"));
  55.         echo "interne";
  56.         
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  58.         
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  60.     }
  61.     // line 5
  62.     public function block_content($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""content"));
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  69.         // line 6
  70.         echo "    <section class=\"title-page cours-page\" style=\"background:url(";
  71.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/bg_page_abonnement.jpg"), "html"nulltrue);
  72.         echo ")\">
  73.         <div class=\"container\">
  74.             <div class=\"row\">
  75.                 <div class=\"head_page\">
  76.                     <div class=\"head\"> Foire Aux Questions</div>
  77.                     <div class=\"sperateur\"></div>
  78.                     <div class=\"sub_title\">Vous vous posez des questions sur SACO ? <br>
  79.                         Voici les réponses aux principales questions que vous
  80.                         pouvez vous poser. <br>
  81.                         Si vous n’avez pas trouvé la réponse à votre question, <br>
  82.                         rendez-vous dans la rubrique <a href=\"";
  83.         // line 16
  84.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_contact");
  85.         echo "\"> Contactez-nous </a>
  86.                         pour nous la poser directement.
  87.                     </div>
  88.                 </div>
  89.             </div>
  90.         </div>
  91.     </section>
  92.     <section class=\"breadcumbs\">
  93.         <div class=\"container\">
  94.             <div class=\"row\">
  95.                 <div class=\"crumbs\"><a href=\"#\"> Home </a> > <a href=\"\"> Foire Aux Questions </a></div>
  96.             </div>
  97.         </div>
  98.     </section>
  99.     <section class=\"questions\">
  100.         <div class=\"container\">
  101.             <div class=\"row\">
  102.                 <div class=\"list-questions\">
  103.                     <div class=\"cat_q\">
  104.                         <!--<div class=\"title_cat_q\"> Titre de la catégorie</div>
  105.                         <div class=\"sperateur\"></div>-->
  106.                         <div class=\"tabs_cat_q\">
  107.                             <div id=\"accordion\" class=\"accordion-two accordion-two-primary\" role=\"tablist\"
  108.                                  aria-multiselectable=\"true\">
  109.                                 ";
  110.         // line 43
  111.         $context['_parent'] = $context;
  112.         $context['_seq'] = twig_ensure_traversable((isset($context["faqs"]) || array_key_exists("faqs"$context) ? $context["faqs"] : (function () { throw new RuntimeError('Variable "faqs" does not exist.'43$this->source); })()));
  113.         foreach ($context['_seq'] as $context["_key"] => $context["faq"]) {
  114.             // line 44
  115.             echo "                                <div class=\"card\">
  116.                                     <div class=\"card-header\" role=\"tab\" id=\"heading_";
  117.             // line 45
  118.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["faq"], "id", [], "any"falsefalsefalse45), "html"nulltrue);
  119.             echo "\">
  120.                                         <a data-bs-toggle=\"collapse\" data-bs-target=\"#collapse_";
  121.             // line 46
  122.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["faq"], "id", [], "any"falsefalsefalse46), "html"nulltrue);
  123.             echo "\" aria-expanded=\"false\" aria-controls=\"collapse_";
  124.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["faq"], "id", [], "any"falsefalsefalse46), "html"nulltrue);
  125.             echo "\" href=\"#collapse_";
  126.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["faq"], "id", [], "any"falsefalsefalse46), "html"nulltrue);
  127.             echo "\"
  128.                                            aria-expanded=\"false\" aria-controls=\"collapse_";
  129.             // line 47
  130.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["faq"], "id", [], "any"falsefalsefalse47), "html"nulltrue);
  131.             echo "\"
  132.                                            class=\"tx-gray-800 transition\">
  133.                                             ";
  134.             // line 49
  135.             echo twig_replace_filter(twig_get_attribute($this->env$this->source$context["faq"], "question", [], "any"falsefalsefalse49), ["<p>" => "<span>""</p>" => "</span>"]);
  136.             echo "
  137.                                         </a>
  138.                                     </div><!-- card-header -->
  139.                                     <div id=\"collapse_";
  140.             // line 53
  141.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["faq"], "id", [], "any"falsefalsefalse53), "html"nulltrue);
  142.             echo "\" class=\"collapse\" role=\"tabpanel\"
  143.                                          aria-labelledby=\"heading_";
  144.             // line 54
  145.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["faq"], "id", [], "any"falsefalsefalse54), "html"nulltrue);
  146.             echo "\" style=\"\">
  147.                                         <div class=\"card-body\">
  148.                                             ";
  149.             // line 56
  150.             echo twig_get_attribute($this->env$this->source$context["faq"], "response", [], "any"falsefalsefalse56);
  151.             echo "
  152.                                         </div>
  153.                                     </div>
  154.                                 </div>
  155.                                 ";
  156.         }
  157.         $_parent $context['_parent'];
  158.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['faq'], $context['_parent'], $context['loop']);
  159.         $context array_intersect_key($context$_parent) + $_parent;
  160.         // line 61
  161.         echo "                            </div>
  162.                         </div>
  163.                     </div>
  164.                 </div>
  165.             </div>
  166.         </div>
  167.     </section>
  168. ";
  169.         
  170.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  171.         
  172.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  173.     }
  174.     // line 71
  175.     public function block_faq($context, array $blocks = [])
  176.     {
  177.         $macros $this->macros;
  178.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  179.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""faq"));
  180.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  181.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""faq"));
  182.         
  183.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  184.         
  185.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  186.     }
  187.     public function getTemplateName()
  188.     {
  189.         return "front/pages/foire_questions.html.twig";
  190.     }
  191.     public function isTraitable()
  192.     {
  193.         return false;
  194.     }
  195.     public function getDebugInfo()
  196.     {
  197.         return array (  202 => 71,  184 => 61,  173 => 56,  168 => 54,  164 => 53,  157 => 49,  152 => 47,  144 => 46,  140 => 45,  137 => 44,  133 => 43,  103 => 16,  89 => 6,  79 => 5,  60 => 3,  37 => 1,);
  198.     }
  199.     public function getSourceContext()
  200.     {
  201.         return new Source("{% extends 'layouts/front.html.twig' %}
  202. {% block bodyClass %}interne{% endblock %}
  203. {% block content %}
  204.     <section class=\"title-page cours-page\" style=\"background:url({{ asset('build/images/bg_page_abonnement.jpg') }})\">
  205.         <div class=\"container\">
  206.             <div class=\"row\">
  207.                 <div class=\"head_page\">
  208.                     <div class=\"head\"> Foire Aux Questions</div>
  209.                     <div class=\"sperateur\"></div>
  210.                     <div class=\"sub_title\">Vous vous posez des questions sur SACO ? <br>
  211.                         Voici les réponses aux principales questions que vous
  212.                         pouvez vous poser. <br>
  213.                         Si vous n’avez pas trouvé la réponse à votre question, <br>
  214.                         rendez-vous dans la rubrique <a href=\"{{ path('page_contact') }}\"> Contactez-nous </a>
  215.                         pour nous la poser directement.
  216.                     </div>
  217.                 </div>
  218.             </div>
  219.         </div>
  220.     </section>
  221.     <section class=\"breadcumbs\">
  222.         <div class=\"container\">
  223.             <div class=\"row\">
  224.                 <div class=\"crumbs\"><a href=\"#\"> Home </a> > <a href=\"\"> Foire Aux Questions </a></div>
  225.             </div>
  226.         </div>
  227.     </section>
  228.     <section class=\"questions\">
  229.         <div class=\"container\">
  230.             <div class=\"row\">
  231.                 <div class=\"list-questions\">
  232.                     <div class=\"cat_q\">
  233.                         <!--<div class=\"title_cat_q\"> Titre de la catégorie</div>
  234.                         <div class=\"sperateur\"></div>-->
  235.                         <div class=\"tabs_cat_q\">
  236.                             <div id=\"accordion\" class=\"accordion-two accordion-two-primary\" role=\"tablist\"
  237.                                  aria-multiselectable=\"true\">
  238.                                 {% for faq in faqs %}
  239.                                 <div class=\"card\">
  240.                                     <div class=\"card-header\" role=\"tab\" id=\"heading_{{ faq.id }}\">
  241.                                         <a data-bs-toggle=\"collapse\" data-bs-target=\"#collapse_{{ faq.id }}\" aria-expanded=\"false\" aria-controls=\"collapse_{{ faq.id }}\" href=\"#collapse_{{ faq.id }}\"
  242.                                            aria-expanded=\"false\" aria-controls=\"collapse_{{ faq.id }}\"
  243.                                            class=\"tx-gray-800 transition\">
  244.                                             {{ faq.question|replace({'<p>': '<span>', '</p>': '</span>'})|raw }}
  245.                                         </a>
  246.                                     </div><!-- card-header -->
  247.                                     <div id=\"collapse_{{ faq.id }}\" class=\"collapse\" role=\"tabpanel\"
  248.                                          aria-labelledby=\"heading_{{ faq.id }}\" style=\"\">
  249.                                         <div class=\"card-body\">
  250.                                             {{ faq.response|raw }}
  251.                                         </div>
  252.                                     </div>
  253.                                 </div>
  254.                                 {% endfor %}
  255.                             </div>
  256.                         </div>
  257.                     </div>
  258.                 </div>
  259.             </div>
  260.         </div>
  261.     </section>
  262. {% endblock %}
  263. {% block faq %}
  264. {% endblock %}""front/pages/foire_questions.html.twig""/home/saco/subdomains/preprod/templates/front/pages/foire_questions.html.twig");
  265.     }
  266. }