<?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;
/* footer_page/details_question.html.twig */
class __TwigTemplate_7ba65af2d5e77cc2eff17d9f92f8de6ab08ff8868b49a3de7fae858d91fc00b9 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheets' => [$this, 'block_stylesheets'],
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.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", "footer_page/details_question.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "footer_page/details_question.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "footer_page/details_question.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_stylesheets($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", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 4
yield " ";
yield from $this->yieldParentBlock("stylesheets", $context, $blocks);
yield "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 7
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 8
yield "
";
// line 9
yield from $this->loadTemplate("assets/assets_vuejs.html.twig", "footer_page/details_question.html.twig", 9)->unwrap()->yield($context);
// line 10
yield " ";
yield from $this->loadTemplate("assets/assets_form_errors.html.twig", "footer_page/details_question.html.twig", 10)->unwrap()->yield($context);
// line 11
yield "
<!-- Menu -->
";
// line 13
yield Twig\Extension\CoreExtension::spaceless($this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragmentStrategy("esi", Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\CoreController::menu", ["lang" => // line 15
(isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 15, $this->source); })()), "currentRoute" => // line 16
(isset($context["currentRoute"]) || array_key_exists("currentRoute", $context) ? $context["currentRoute"] : (function () { throw new RuntimeError('Variable "currentRoute" does not exist.', 16, $this->source); })()), "codePays" => // line 17
(isset($context["codePaysWithUnderScore"]) || array_key_exists("codePaysWithUnderScore", $context) ? $context["codePaysWithUnderScore"] : (function () { throw new RuntimeError('Variable "codePaysWithUnderScore" does not exist.', 17, $this->source); })())])));
// line 18
yield "
<!-- Menu -->
<!-- Publicite -->
";
// line 22
yield from $this->loadTemplate("includes/publicite.html.twig", "footer_page/details_question.html.twig", 22)->unwrap()->yield($context);
// line 23
yield " <!-- Publicite -->
<div class=\"container\" id=\"app\">
<div class=\"row\">
<!--COLONNE GAUCHE -->
";
// line 28
yield from $this->loadTemplate("includes/colonnes_gauche.html.twig", "footer_page/details_question.html.twig", 28)->unwrap()->yield($context);
// line 29
yield " <!--FIN COLONNE GAUCHE -->
<!--COLONNE DROITE -->
<div class=\"col-12 col-lg-9 bkg_blanc no_shadow\">
<!-- ARIANE -->
<nav aria-label=\"breadcrumb\" class=\"d-none d-sm-block\">
<ol class=\"breadcrumb\">
<li class=\"breadcrumb-item\">
<a href=\"";
// line 37
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("index", ["codePays" => (isset($context["codePays"]) || array_key_exists("codePays", $context) ? $context["codePays"] : (function () { throw new RuntimeError('Variable "codePays" does not exist.', 37, $this->source); })())]), "html", null, true);
yield "\">";
yield $this->extensions['App\Twig\TranslationExtension']->translate("accueil", (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 37, $this->source); })()), "", "M");
yield "</a>
</li>
<li class=\"breadcrumb-item\">
<a href=\"";
// line 40
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("question_semaine", ["codePays" => (isset($context["codePaysWithUnderScore"]) || array_key_exists("codePaysWithUnderScore", $context) ? $context["codePaysWithUnderScore"] : (function () { throw new RuntimeError('Variable "codePaysWithUnderScore" does not exist.', 40, $this->source); })())]), "html", null, true);
yield "\">
";
// line 41
yield $this->extensions['App\Twig\TranslationExtension']->translate("toutes les questions", (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 41, $this->source); })()), "", "M");
yield "
</a>
</li>
<li class=\"breadcrumb-item active\" aria-current=\"page\">
";
// line 45
yield $this->extensions['App\Twig\TranslationExtension']->translate("question de la semaine", (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 45, $this->source); })()), "", "M");
yield "
</li>
</ol>
</nav>
<!-- FIN ARIANE -->
<div class=\"row mt-3 mb-5\">
<div class=\"col-12 mt-3 mb-2 ml-5\">
<h2 class=\"gris_666\">";
// line 54
yield $this->extensions['App\Twig\TranslationExtension']->translate("question de la semaine", (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 54, $this->source); })()), "", "M");
yield "</h2>
</div>
</div>
<form method=\"POST\" name=\"inscription_form\" class=\"form-horizontal\" id=\"inscriptionForm\" ref=\"form\"
action=\"";
// line 60
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("question_resultats", ["id" => CoreExtension::getAttribute($this->env, $this->source, Twig\Extension\CoreExtension::first($this->env->getCharset(), // line 61
(isset($context["question"]) || array_key_exists("question", $context) ? $context["question"] : (function () { throw new RuntimeError('Variable "question" does not exist.', 61, $this->source); })())), "idQuestion", [], "array", false, false, false, 61), "titreslug" => $this->extensions['Twig\Extra\String\StringExtension']->createSlug(CoreExtension::getAttribute($this->env, $this->source, Twig\Extension\CoreExtension::first($this->env->getCharset(), // line 62
(isset($context["question"]) || array_key_exists("question", $context) ? $context["question"] : (function () { throw new RuntimeError('Variable "question" does not exist.', 62, $this->source); })())), "reponse", [], "array", false, false, false, 62), "-"), "codePays" => // line 63
(isset($context["codePaysWithUnderScore"]) || array_key_exists("codePaysWithUnderScore", $context) ? $context["codePaysWithUnderScore"] : (function () { throw new RuntimeError('Variable "codePaysWithUnderScore" does not exist.', 63, $this->source); })())]), "html", null, true);
// line 64
yield "\"
role=\"form\">
<div class=\"row\">
<div class=\"col-12 col-sm-8 offset-sm-2\">
<h4 class=\"gris_666 my-5\">
";
// line 72
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, Twig\Extension\CoreExtension::first($this->env->getCharset(), (isset($context["question"]) || array_key_exists("question", $context) ? $context["question"] : (function () { throw new RuntimeError('Variable "question" does not exist.', 72, $this->source); })())), "question", [], "array", false, false, false, 72), "html", null, true);
yield "
</h4>
<div class=\"row\">
<div class=\"col-12\">
";
// line 78
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["question"]) || array_key_exists("question", $context) ? $context["question"] : (function () { throw new RuntimeError('Variable "question" does not exist.', 78, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["q"]) {
// line 79
yield " <div class=\"custom-control custom-radio mb-2\">
<input class=\"custom-control-input\" v-model=\"input_radio\" type=\"radio\" name=\"reponse\" id=\"exampleRadios";
// line 80
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["q"], "idreponse", [], "any", false, false, false, 80), "html", null, true);
yield "\" value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["q"], "idreponse", [], "any", false, false, false, 80), "html", null, true);
yield "\">
<label class=\"custom-control-label\" for=\"exampleRadios";
// line 81
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["q"], "idreponse", [], "any", false, false, false, 81), "html", null, true);
yield "\">
";
// line 82
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["q"], "reponse", [], "any", false, false, false, 82), "html", null, true);
yield "
</label>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['q'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 87
yield "
</div>
</div>
</div>
</div>
<div class=\"row my-5\">
<div class=\"col-2 offset-3\">
<button
title=\"";
// line 97
yield $this->extensions['App\Twig\TranslationExtension']->translate("repondre", (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 97, $this->source); })()), "", "M");
yield "\"
type=\"button\"
class=\"button-rond \" role=\"button\" aria-pressed=\"true\"
@click=\"onClick\"
v-bind:class=\"(!btnSubmitValid)?'disabled':'' \" >
";
// line 102
yield $this->extensions['App\Twig\TranslationExtension']->translate("repondre", (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 102, $this->source); })()), "", "M");
yield "
</button>
</div>
</div>
</form>
</div> <!--FIN COLONNE DROITE -->
</div> <!--FIN ROW -->
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 114
public function block_javascripts($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", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
yield " ";
yield from $this->yieldParentBlock("javascripts", $context, $blocks);
yield "
<script type=\"module\" data-name=\"";
// line 116
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["codePaysWithUnderScore"]) || array_key_exists("codePaysWithUnderScore", $context) ? $context["codePaysWithUnderScore"] : (function () { throw new RuntimeError('Variable "codePaysWithUnderScore" does not exist.', 116, $this->source); })()), "html", null, true);
yield "\" id=\"codePaysParam\"
src=\"";
// line 117
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/js/questions_de_la_semaine/details_question.js"), "html", null, true);
yield "\"></script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "footer_page/details_question.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 292 => 117, 288 => 116, 273 => 114, 251 => 102, 243 => 97, 231 => 87, 220 => 82, 216 => 81, 210 => 80, 207 => 79, 203 => 78, 194 => 72, 184 => 64, 182 => 63, 181 => 62, 180 => 61, 179 => 60, 170 => 54, 158 => 45, 151 => 41, 147 => 40, 139 => 37, 129 => 29, 127 => 28, 120 => 23, 118 => 22, 112 => 18, 110 => 17, 109 => 16, 108 => 15, 107 => 13, 103 => 11, 100 => 10, 98 => 9, 95 => 8, 85 => 7, 71 => 4, 61 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block stylesheets %}
{{ parent() }}
{% endblock %}
{% block body %}
{% include 'assets/assets_vuejs.html.twig' %}
{% include 'assets/assets_form_errors.html.twig' %}
<!-- Menu -->
{{ render_esi(controller(
'App\\\\Controller\\\\CoreController::menu',
{ \"lang\": lang,
\"currentRoute\":currentRoute,
\"codePays\": codePaysWithUnderScore }
)) | spaceless }}
<!-- Menu -->
<!-- Publicite -->
{% include 'includes/publicite.html.twig' %}
<!-- Publicite -->
<div class=\"container\" id=\"app\">
<div class=\"row\">
<!--COLONNE GAUCHE -->
{% include 'includes/colonnes_gauche.html.twig' %}
<!--FIN COLONNE GAUCHE -->
<!--COLONNE DROITE -->
<div class=\"col-12 col-lg-9 bkg_blanc no_shadow\">
<!-- ARIANE -->
<nav aria-label=\"breadcrumb\" class=\"d-none d-sm-block\">
<ol class=\"breadcrumb\">
<li class=\"breadcrumb-item\">
<a href=\"{{ path('index',{'codePays':codePays }) }}\">{{ translate(\"accueil\" ,lang,\"\",\"M\") | raw }}</a>
</li>
<li class=\"breadcrumb-item\">
<a href=\"{{ path('question_semaine',{'codePays':codePaysWithUnderScore }) }}\">
{{ translate(\"toutes les questions\" ,lang,\"\",\"M\") | raw }}
</a>
</li>
<li class=\"breadcrumb-item active\" aria-current=\"page\">
{{ translate(\"question de la semaine\" ,lang,\"\",\"M\") | raw }}
</li>
</ol>
</nav>
<!-- FIN ARIANE -->
<div class=\"row mt-3 mb-5\">
<div class=\"col-12 mt-3 mb-2 ml-5\">
<h2 class=\"gris_666\">{{ translate(\"question de la semaine\" ,lang,\"\",\"M\") | raw }}</h2>
</div>
</div>
<form method=\"POST\" name=\"inscription_form\" class=\"form-horizontal\" id=\"inscriptionForm\" ref=\"form\"
action=\"{{ path(\"question_resultats\",{
'id': question|first[\"idQuestion\"] ,
'titreslug': question|first[\"reponse\"]|slug(\"-\") ,
'codePays':codePaysWithUnderScore
}) }}\"
role=\"form\">
<div class=\"row\">
<div class=\"col-12 col-sm-8 offset-sm-2\">
<h4 class=\"gris_666 my-5\">
{{ question|first[\"question\"] }}
</h4>
<div class=\"row\">
<div class=\"col-12\">
{% for q in question %}
<div class=\"custom-control custom-radio mb-2\">
<input class=\"custom-control-input\" v-model=\"input_radio\" type=\"radio\" name=\"reponse\" id=\"exampleRadios{{ q.idreponse }}\" value=\"{{ q.idreponse }}\">
<label class=\"custom-control-label\" for=\"exampleRadios{{ q.idreponse }}\">
{{ q.reponse }}
</label>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
<div class=\"row my-5\">
<div class=\"col-2 offset-3\">
<button
title=\"{{ translate(\"repondre\" ,lang,\"\",\"M\") | raw }}\"
type=\"button\"
class=\"button-rond \" role=\"button\" aria-pressed=\"true\"
@click=\"onClick\"
v-bind:class=\"(!btnSubmitValid)?'disabled':'' \" >
{{ translate(\"repondre\" ,lang,\"\",\"M\") | raw }}
</button>
</div>
</div>
</form>
</div> <!--FIN COLONNE DROITE -->
</div> <!--FIN ROW -->
</div>
{% endblock %}
{% block javascripts %} {{ parent() }}
<script type=\"module\" data-name=\"{{ codePaysWithUnderScore }}\" id=\"codePaysParam\"
src=\"{{ asset('build/js/questions_de_la_semaine/details_question.js') }}\"></script>
{% endblock %}
", "footer_page/details_question.html.twig", "/home/www/fusacq_symfony_5.4_preprod/templates/footer_page/details_question.html.twig");
}
}