<?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;
/* frontend/frontindex/casFront.html.twig */
class __TwigTemplate_4a58cf8533747e0c6e9c7f3980b665ebe0881e5723502467a0d574e3ff366a4e extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'seo' => [$this, 'block_seo'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "frontend/frontindex/add.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", "frontend/frontindex/casFront.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/frontindex/casFront.html.twig"));
$this->parent = $this->loadTemplate("frontend/frontindex/add.html.twig", "frontend/frontindex/casFront.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_seo($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", "seo"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seo"));
// line 3
echo "
\t";
// line 4
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("seo", ["page" => 23]));
// line 7
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 10
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 11
echo "\t<section class=\"breadcrumbs\" style=\"background-image:url('../front-assets/assets/img/breadcrumb-bg.jpg')\">
\t\t<div class=\"container\">
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-lg-6 offset-lg-3 col-12\">
\t\t\t\t\t<div class=\"breadcrumb-content\">
\t\t\t\t\t\t<h1>";
// line 17
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%EspacePatient%"), "html", null, true);
echo "</h1>
\t\t\t\t\t\t<ul class=\"breadcrumb-menu\">
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a href=\"";
// line 20
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_accueil");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%Home%"), "html", null, true);
echo "</a>
\t\t\t\t\t\t\t\t<i class=\"far fa-angle-double-right\"></i>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a href=\"";
// line 24
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cas_index");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%NosCas%"), "html", null, true);
echo "</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t</ul>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
\t<section class=\"department-area\">
\t\t<div class=\"container\">
\t\t\t<div class=\"department-details-main\">
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-md-8 offset-md-2 text-center\">
\t\t\t\t\t\t";
// line 37
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 37, $this->source); })()), "flashes", [0 => "success"], "method", false, false, false, 37));
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 38
echo "\t\t\t\t\t\t\t<div class=\"alert alert-success\">
\t\t\t\t\t\t\t\t";
// line 39
echo twig_escape_filter($this->env, $context["message"], "html", null, true);
echo "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 42
echo "\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"row\">
\t\t\t\t\t";
// line 45
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["touscas"]) || array_key_exists("touscas", $context) ? $context["touscas"] : (function () { throw new RuntimeError('Variable "touscas" does not exist.', 45, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["cas"]) {
// line 46
echo "\t\t\t\t\t\t<div class=\"col-md-3\">
\t\t\t\t\t\t\t<a href=\"";
// line 47
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("detail_cas", ["id" => twig_get_attribute($this->env, $this->source, $context["cas"], "id", [], "any", false, false, false, 47)]), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t<div class=\"department-single\">
\t\t\t\t\t\t\t\t\t<i class=\"far fa-kidneys\"></i>
\t\t\t\t\t\t\t\t\t<h3 class=\"h6\">
\t\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\t\t";
// line 52
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 52, $this->source); })()), "request", [], "any", false, false, false, 52), "locale", [], "any", false, false, false, 52), "fr"))) {
// line 53
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cas"], "titreFr", [], "any", false, false, false, 53), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t\t";
} elseif ((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 54
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 54, $this->source); })()), "request", [], "any", false, false, false, 54), "locale", [], "any", false, false, false, 54), "en"))) {
// line 55
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cas"], "titreEn", [], "any", false, false, false, 55), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 57
echo "\t\t\t\t\t\t\t\t\t\t</strong>
\t\t\t\t\t\t\t\t\t</h3>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cas'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 63
echo "\t\t\t\t</div>
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t";
// line 66
echo $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["touscas"]) || array_key_exists("touscas", $context) ? $context["touscas"] : (function () { throw new RuntimeError('Variable "touscas" does not exist.', 66, $this->source); })()));
echo "
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-md-12\">
\t\t\t\t\t\t<div class=\"post-comment\">
\t\t\t\t\t\t\t<div class=\"comment-title\">
\t\t\t\t\t\t\t\t<h2>";
// line 73
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%AutresQuestion%"), "html", null, true);
echo "</h2>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 75
echo $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.', 75, $this->source); })()), 'form_start');
echo "
\t\t\t\t\t\t\t<div class=\"comment-form\">
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t<div class=\"col-lg-6 col-lg-6 col-12\">
\t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t\t\t<input name=\"";
// line 80
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\FormExtension']->getFieldName(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 80, $this->source); })()), "nom", [], "any", false, false, false, 80)), "html", null, true);
echo "\" value=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\FormExtension']->getFieldValue(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 80, $this->source); })()), "nom", [], "any", false, false, false, 80)), "html", null, true);
echo "\" placeholder=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%nom%"), "html", null, true);
echo "\" class=\"form-control\" required/>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"col-lg-6 col-lg-6 col-12\">
\t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t\t\t<input name=\"";
// line 85
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\FormExtension']->getFieldName(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 85, $this->source); })()), "prenom", [], "any", false, false, false, 85)), "html", null, true);
echo "\" value=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\FormExtension']->getFieldValue(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 85, $this->source); })()), "prenom", [], "any", false, false, false, 85)), "html", null, true);
echo "\" placeholder=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%prenom%"), "html", null, true);
echo "\" class=\"form-control\" required/>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t\t\t<textarea name=\"";
// line 90
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\FormExtension']->getFieldName(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 90, $this->source); })()), "question", [], "any", false, false, false, 90)), "html", null, true);
echo "\" value=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\FormExtension']->getFieldValue(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 90, $this->source); })()), "question", [], "any", false, false, false, 90)), "html", null, true);
echo "\" placeholder=\"";
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%question%")), "html", null, true);
echo "\" class=\"form-control\" required></textarea>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t\t\t<label for=\"image\">";
// line 95
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%image%"), "html", null, true);
echo "</label>
\t\t\t\t\t\t\t\t\t\t\t";
// line 97
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 97, $this->source); })()), "image", [], "any", false, false, false, 97), 'widget');
echo "
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t\t\t<div class=\"post-comment-btn\">
\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\ttype=\"submit\" value=\"Ajouter\" class=\"theme-btn\"/>
\t\t\t\t\t\t\t\t\t\t";
// line 106
echo "\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 110
echo $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.', 110, $this->source); })()), 'form_end');
echo "
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-md-12\">
\t\t\t\t\t\t<div class=\"blog-comments\">
\t\t\t\t\t\t\t<div class=\"comment-title\">
\t\t\t\t\t\t\t\t<h2>";
// line 118
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%questions%")), "html", null, true);
echo "</h2>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"comments-body row\">
\t\t\t\t\t\t\t\t";
// line 121
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["questionReponsesGeneraux"]) || array_key_exists("questionReponsesGeneraux", $context) ? $context["questionReponsesGeneraux"] : (function () { throw new RuntimeError('Variable "questionReponsesGeneraux" does not exist.', 121, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["qr"]) {
// line 122
echo "\t\t\t\t\t\t\t\t\t<div class=\"single-comments\">
\t\t\t\t\t\t\t\t\t\t<div class=\"main\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"head\">
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 125
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["qr"], "image", [], "any", false, false, false, 125), null))) {
echo "<img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/images/" . twig_get_attribute($this->env, $this->source, $context["qr"], "image", [], "any", false, false, false, 125))), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "question", [], "any", false, false, false, 125), "html", null, true);
echo "\">";
} elseif ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["qr"], "image", [], "any", false, false, false, 125), null))) {
echo "<img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front-assets/assets/img/logo1.png"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "question", [], "any", false, false, false, 125), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 127
echo "\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t<div class=\"body\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"body-top\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<h6>";
// line 130
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "prenom", [], "any", false, false, false, 130), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 131
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "nom", [], "any", false, false, false, 131), "html", null, true);
echo "</h6>
\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"date-meta\">";
// line 132
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "dateQuestion", [], "any", false, false, false, 132), "d/m/y"), "html", null, true);
echo "</span>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<p>";
// line 134
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "question", [], "any", false, false, false, 134), "html", null, true);
echo "</p>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t";
// line 137
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["qr"], "reponse", [], "any", false, false, false, 137), null))) {
// line 138
echo "\t\t\t\t\t\t\t\t\t\t\t<div class=\"comment-list\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"head\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
// line 140
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front-assets/assets/img/logo1.png"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "question", [], "any", false, false, false, 140), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"body\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"body-top\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h6>ATU</h6>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"date-meta\">";
// line 145
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "dateQuestion", [], "any", false, false, false, 145), "d/m/y"), "html", null, true);
echo "</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<p>";
// line 147
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "reponse", [], "any", false, false, false, 147), "html", null, true);
echo "</p>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t";
}
// line 151
echo "\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['qr'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 153
echo "\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t\t";
// line 156
echo $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["questionReponsesGeneraux"]) || array_key_exists("questionReponsesGeneraux", $context) ? $context["questionReponsesGeneraux"] : (function () { throw new RuntimeError('Variable "questionReponsesGeneraux" does not exist.', 156, $this->source); })()));
echo "
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "frontend/frontindex/casFront.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 390 => 156, 385 => 153, 378 => 151, 371 => 147, 366 => 145, 356 => 140, 352 => 138, 350 => 137, 344 => 134, 339 => 132, 335 => 131, 331 => 130, 326 => 127, 311 => 125, 306 => 122, 302 => 121, 296 => 118, 285 => 110, 279 => 106, 268 => 97, 263 => 95, 251 => 90, 239 => 85, 227 => 80, 219 => 75, 214 => 73, 204 => 66, 199 => 63, 188 => 57, 182 => 55, 180 => 54, 175 => 53, 173 => 52, 165 => 47, 162 => 46, 158 => 45, 153 => 42, 144 => 39, 141 => 38, 137 => 37, 119 => 24, 110 => 20, 104 => 17, 96 => 11, 86 => 10, 74 => 7, 72 => 4, 69 => 3, 59 => 2, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'frontend/frontindex/add.html.twig' %}
{% block seo %}
\t{{ render(path(
\t\t'seo',
\t\t{ 'page':23 }
\t)) }}
{% endblock %}
{% block body %}
\t<section class=\"breadcrumbs\" style=\"background-image:url('../front-assets/assets/img/breadcrumb-bg.jpg')\">
\t\t<div class=\"container\">
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-lg-6 offset-lg-3 col-12\">
\t\t\t\t\t<div class=\"breadcrumb-content\">
\t\t\t\t\t\t<h1>{{'%EspacePatient%'|trans}}</h1>
\t\t\t\t\t\t<ul class=\"breadcrumb-menu\">
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a href=\"{{path('app_accueil')}}\">{{ '%Home%'|trans }}</a>
\t\t\t\t\t\t\t\t<i class=\"far fa-angle-double-right\"></i>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a href=\"{{path('cas_index')}}\">{{'%NosCas%'|trans}}</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t</ul>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
\t<section class=\"department-area\">
\t\t<div class=\"container\">
\t\t\t<div class=\"department-details-main\">
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-md-8 offset-md-2 text-center\">
\t\t\t\t\t\t{% for message in app.flashes('success') %}
\t\t\t\t\t\t\t<div class=\"alert alert-success\">
\t\t\t\t\t\t\t\t{{ message }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"row\">
\t\t\t\t\t{% for cas in touscas %}
\t\t\t\t\t\t<div class=\"col-md-3\">
\t\t\t\t\t\t\t<a href=\"{{ path('detail_cas',{id:cas.id})}}\">
\t\t\t\t\t\t\t\t<div class=\"department-single\">
\t\t\t\t\t\t\t\t\t<i class=\"far fa-kidneys\"></i>
\t\t\t\t\t\t\t\t\t<h3 class=\"h6\">
\t\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\t\t{% if app.request.locale == 'fr' %}
\t\t\t\t\t\t\t\t\t\t\t\t{{ cas.titreFr }}
\t\t\t\t\t\t\t\t\t\t\t{% elseif app.request.locale == 'en' %}
\t\t\t\t\t\t\t\t\t\t\t\t{{ cas.titreEn }}
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t</strong>
\t\t\t\t\t\t\t\t\t</h3>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endfor %}
\t\t\t\t</div>
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t{{ knp_pagination_render(touscas) }}
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-md-12\">
\t\t\t\t\t\t<div class=\"post-comment\">
\t\t\t\t\t\t\t<div class=\"comment-title\">
\t\t\t\t\t\t\t\t<h2>{{'%AutresQuestion%'|trans}}</h2>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{{ form_start(form) }}
\t\t\t\t\t\t\t<div class=\"comment-form\">
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t<div class=\"col-lg-6 col-lg-6 col-12\">
\t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t\t\t<input name=\"{{ field_name(form.nom) }}\" value=\"{{ field_value(form.nom) }}\" placeholder=\"{{ '%nom%'|trans}}\" class=\"form-control\" required/>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"col-lg-6 col-lg-6 col-12\">
\t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t\t\t<input name=\"{{ field_name(form.prenom) }}\" value=\"{{ field_value(form.prenom) }}\" placeholder=\"{{ '%prenom%'|trans }}\" class=\"form-control\" required/>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t\t\t<textarea name=\"{{ field_name(form.question) }}\" value=\"{{ field_value(form.question) }}\" placeholder=\"{{ '%question%'|trans|capitalize }}\" class=\"form-control\" required></textarea>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t\t\t<label for=\"image\">{{'%image%'|trans}}</label>
\t\t\t\t\t\t\t\t\t\t\t{{form_widget(form.image)}}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t\t\t<div class=\"post-comment-btn\">
\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\ttype=\"submit\" value=\"Ajouter\" class=\"theme-btn\"/>
\t\t\t\t\t\t\t\t\t\t{# <button type=\"submit\" class=\"theme-btn\">{{'%Envoyer%'|trans}}</button> #}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{{ form_end(form) }}
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-md-12\">
\t\t\t\t\t\t<div class=\"blog-comments\">
\t\t\t\t\t\t\t<div class=\"comment-title\">
\t\t\t\t\t\t\t\t<h2>{{'%questions%'|trans|capitalize}}</h2>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"comments-body row\">
\t\t\t\t\t\t\t\t{% for qr in questionReponsesGeneraux %}
\t\t\t\t\t\t\t\t\t<div class=\"single-comments\">
\t\t\t\t\t\t\t\t\t\t<div class=\"main\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"head\">
\t\t\t\t\t\t\t\t\t\t\t\t{% if qr.image!=null %}<img src=\"{{ asset('uploads/images/' ~ qr.image) }}\" alt=\"{{qr.question}}\">{% elseif qr.image==null %}<img src=\"{{asset('front-assets/assets/img/logo1.png')}}\" alt=\"{{qr.question}}\">
\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t<div class=\"body\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"body-top\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<h6>{{ qr.prenom }}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ qr.nom }}</h6>
\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"date-meta\">{{ qr.dateQuestion |date(\"d/m/y\") }}</span>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<p>{{ qr.question }}</p>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t{% if qr.reponse != null %}
\t\t\t\t\t\t\t\t\t\t\t<div class=\"comment-list\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"head\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{asset('front-assets/assets/img/logo1.png')}}\" alt=\"{{qr.question}}\">
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"body\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"body-top\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h6>ATU</h6>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"date-meta\">{{ qr.dateQuestion |date(\"d/m/y\") }}</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<p>{{ qr.reponse }}</p>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t\t{{ knp_pagination_render(questionReponsesGeneraux) }}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
{% endblock %}
", "frontend/frontindex/casFront.html.twig", "/home/urotunisuz/www/templates/frontend/frontindex/casFront.html.twig");
}
}