<?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/detailCas.html.twig */
class __TwigTemplate_88afc47864a5768c0af87b01ea38e9856c3f51af483baf779907380f40f509d5 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'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/detailCas.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/detailCas.html.twig"));
$this->parent = $this->loadTemplate("frontend/frontindex/add.html.twig", "frontend/frontindex/detailCas.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_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 3
echo "
<section class=\"breadcrumbs\" style=\"background-image:url('../../front-assets/assets/img/breadcrumb-bg.jpg')\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-lg-6 offset-lg-3 col-12\">
<div class=\"breadcrumb-content\">
<h4>";
// line 11
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%EspacePatient%"), "html", null, true);
echo "</h4>
<ul class=\"breadcrumb-menu\">
<li><a href=\"";
// line 13
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><i class=\"far fa-angle-double-right\"></i></li>
<li><a href=\"";
// line 14
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><i class=\"far fa-angle-double-right\"></i></li>
<li><a href=\"javascript:void(0)\">";
// line 15
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%cas%"), "html", null, true);
echo " : ";
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.', 15, $this->source); })()), "request", [], "any", false, false, false, 15), "locale", [], "any", false, false, false, 15), "fr"))) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["cas"]) || array_key_exists("cas", $context) ? $context["cas"] : (function () { throw new RuntimeError('Variable "cas" does not exist.', 15, $this->source); })()), "titreFr", [], "any", false, false, false, 15), "html", null, true);
} elseif ((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.', 15, $this->source); })()), "request", [], "any", false, false, false, 15), "locale", [], "any", false, false, false, 15), "en"))) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["cas"]) || array_key_exists("cas", $context) ? $context["cas"] : (function () { throw new RuntimeError('Variable "cas" does not exist.', 15, $this->source); })()), "titreEn", [], "any", false, false, false, 15), "html", null, true);
}
echo "</a></li>
</ul>
</div>
</div>
</div>
</div>
</section>
<section class=\"blog-area blog-archive-area\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-8 offset-md-2 text-center\">
";
// line 28
$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.', 28, $this->source); })()), "flashes", [0 => "success"], "method", false, false, false, 28));
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 29
echo " <div class=\"alert alert-success\">
";
// line 30
echo twig_escape_filter($this->env, $context["message"], "html", null, true);
echo "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 33
echo " </div>
</div>
<div class=\"row\">
<div class=\"col-lg-8 col-12 wow fadeInUp\" data-wow-delay=\"0.2s\">
<div class=\"row\">
<div class=\"col-12\">
<div class=\"single-blog-area single-blog-area-sidebar\">
<div class=\"single-blog-head\">
<div class=\"single-head-img\">
<div class=\"s-blog-head\">
<div class=\"s-blog-img\">
<img src=\"";
// line 44
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/images/" . twig_get_attribute($this->env, $this->source, (isset($context["cas"]) || array_key_exists("cas", $context) ? $context["cas"] : (function () { throw new RuntimeError('Variable "cas" does not exist.', 44, $this->source); })()), "image", [], "any", false, false, false, 44))), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["cas"]) || array_key_exists("cas", $context) ? $context["cas"] : (function () { throw new RuntimeError('Variable "cas" does not exist.', 44, $this->source); })()), "titreFr", [], "any", false, false, false, 44), "html", null, true);
echo "\">
";
// line 45
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["cas"]) || array_key_exists("cas", $context) ? $context["cas"] : (function () { throw new RuntimeError('Variable "cas" does not exist.', 45, $this->source); })()), "video", [], "any", false, false, false, 45), null))) {
// line 46
echo " <div class=\"video-main\">
<div class=\"promo-video\">
<div class=\"waves-block\">
<div class=\"waves wave-1\"></div>
<div class=\"waves wave-2\"></div>
<div class=\"waves wave-3\"></div>
</div>
</div>
<a href=\"";
// line 54
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["cas"]) || array_key_exists("cas", $context) ? $context["cas"] : (function () { throw new RuntimeError('Variable "cas" does not exist.', 54, $this->source); })()), "video", [], "any", false, false, false, 54), "html", null, true);
echo "\" class=\"video video-popup mfp-iframe\" ><i class=\"far fa-play\"></i></a>
</div>
";
}
// line 57
echo " </div>
</div>
</div>
<div class=\"blog-s-title\">
<div class=\"blog-single-meta\">
<span><img src=\"";
// line 62
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=\"atu\" width=\"10%\">ATU</span>
<span><i class=\"far fa-calendar-alt\"></i>";
// line 63
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["cas"]) || array_key_exists("cas", $context) ? $context["cas"] : (function () { throw new RuntimeError('Variable "cas" does not exist.', 63, $this->source); })()), "date", [], "any", false, false, false, 63), "d/m/y"), "html", null, true);
echo "</span>
</div>
<h3>";
// line 65
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.', 65, $this->source); })()), "request", [], "any", false, false, false, 65), "locale", [], "any", false, false, false, 65), "fr"))) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["cas"]) || array_key_exists("cas", $context) ? $context["cas"] : (function () { throw new RuntimeError('Variable "cas" does not exist.', 65, $this->source); })()), "titreFr", [], "any", false, false, false, 65), "html", null, true);
} elseif ((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.', 65, $this->source); })()), "request", [], "any", false, false, false, 65), "locale", [], "any", false, false, false, 65), "en"))) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["cas"]) || array_key_exists("cas", $context) ? $context["cas"] : (function () { throw new RuntimeError('Variable "cas" does not exist.', 65, $this->source); })()), "titreEn", [], "any", false, false, false, 65), "html", null, true);
}
// line 66
echo " </h3>
</div>
</div>
<div class=\"single-content\">
<div class=\"blog-s-middle-img\">
<div class=\"row\">
<div class=\"col-md-4\">
<img src=\"";
// line 74
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/images/" . twig_get_attribute($this->env, $this->source, (isset($context["cas"]) || array_key_exists("cas", $context) ? $context["cas"] : (function () { throw new RuntimeError('Variable "cas" does not exist.', 74, $this->source); })()), "image", [], "any", false, false, false, 74))), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["cas"]) || array_key_exists("cas", $context) ? $context["cas"] : (function () { throw new RuntimeError('Variable "cas" does not exist.', 74, $this->source); })()), "titreFr", [], "any", false, false, false, 74), "html", null, true);
echo "\">
</div>
";
// line 76
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["cas"]) || array_key_exists("cas", $context) ? $context["cas"] : (function () { throw new RuntimeError('Variable "cas" does not exist.', 76, $this->source); })()), "pdf", [], "any", false, false, false, 76), null))) {
// line 77
echo " <div class=\"col-md-8\">
<a class=\"btn btn-outline-info btn-lg btn-block\" href=\"";
// line 78
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/uploadCasPatient/" . twig_get_attribute($this->env, $this->source, (isset($context["cas"]) || array_key_exists("cas", $context) ? $context["cas"] : (function () { throw new RuntimeError('Variable "cas" does not exist.', 78, $this->source); })()), "pdf", [], "any", false, false, false, 78))), "html", null, true);
echo "\" target=\"_blank\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%voirPdf%"), "html", null, true);
echo "</a>
</div>
";
}
// line 82
echo "
</div>
</div>
</div>
<div class=\"blog-comments\">
<div class=\"comment-title\">
<h3>";
// line 89
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%Commentaires%"), "html", null, true);
echo "</h3>
</div>
<div class=\"comments-body\">
";
// line 92
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["cas"]) || array_key_exists("cas", $context) ? $context["cas"] : (function () { throw new RuntimeError('Variable "cas" does not exist.', 92, $this->source); })()), "questionReponses", [], "any", false, false, false, 92));
foreach ($context['_seq'] as $context["_key"] => $context["qr"]) {
// line 93
echo " <div class=\"single-comments\">
<div class=\"main\">
<div class=\"head\">
";
// line 96
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["qr"], "image", [], "any", false, false, false, 96), 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, 96))), "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, 96), "html", null, true);
echo "\">";
} elseif ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["qr"], "image", [], "any", false, false, false, 96), 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, 96), "html", null, true);
echo "\">";
}
// line 97
echo " </div>
<div class=\"body\">
<div class=\"body-top\">
<h6>";
// line 100
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "prenom", [], "any", false, false, false, 100), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "nom", [], "any", false, false, false, 100), "html", null, true);
echo "</h6>
<span class=\"date-meta\">";
// line 101
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, 101), "d/m/y"), "html", null, true);
echo "</span>
</div>
<p>";
// line 103
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "question", [], "any", false, false, false, 103), "html", null, true);
echo "</p>
</div>
</div>
";
// line 106
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["qr"], "reponse", [], "any", false, false, false, 106), null))) {
// line 107
echo " <div class=\"comment-list\">
<div class=\"head\">
<img src=\"";
// line 109
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, 109), "html", null, true);
echo "\">
</div>
<div class=\"body\">
<div class=\"body-top\">
<h6>ATU</h6>
<span class=\"date-meta\">";
// line 114
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, 114), "d/m/y"), "html", null, true);
echo "</span>
</div>
<p>";
// line 116
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "reponse", [], "any", false, false, false, 116), "html", null, true);
echo "</p>
</div>
</div>
";
}
// line 120
echo " </div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['qr'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 122
echo "
</div>
</div>
<div class=\"post-comment\">
<div class=\"comment-title\">
<h3>";
// line 129
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%Laissezvotrequestion%"), "html", null, true);
echo "</h3>
</div>
";
// line 131
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.', 131, $this->source); })()), 'form_start');
echo "
<div class=\"comment-form\">
<div class=\"row\">
<div class=\"col-lg-6 col-lg-6 col-12\">
<div class=\"form-group\">
<input name=\"";
// line 136
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.', 136, $this->source); })()), "nom", [], "any", false, false, false, 136)), "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.', 136, $this->source); })()), "nom", [], "any", false, false, false, 136)), "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/>
</div>
</div>
<div class=\"col-lg-6 col-lg-6 col-12\">
<div class=\"form-group\">
<input name=\"";
// line 141
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.', 141, $this->source); })()), "prenom", [], "any", false, false, false, 141)), "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.', 141, $this->source); })()), "prenom", [], "any", false, false, false, 141)), "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/>
</div>
</div>
<div class=\"col-12\">
<div class=\"form-group\">
<textarea name=\"";
// line 146
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.', 146, $this->source); })()), "question", [], "any", false, false, false, 146)), "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.', 146, $this->source); })()), "question", [], "any", false, false, false, 146)), "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>
</div>
</div>
<div class=\"col-12\">
<div class=\"form-group\">
<label for=\"image\">";
// line 151
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%image%"), "html", null, true);
echo "</label>
";
// line 153
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.', 153, $this->source); })()), "image", [], "any", false, false, false, 153), 'widget');
echo "
</div>
</div>
<div class=\"col-12\">
<div class=\"post-comment-btn\">
<button type=\"submit\" class=\"theme-btn\">";
// line 159
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%Envoyer%"), "html", null, true);
echo "</button>
</div>
</div>
</div>
</div>
";
// line 164
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.', 164, $this->source); })()), 'form_end');
echo "
</div>
</div>
</div>
</div>
</div>
<div class=\"col-lg-4 col-md-6 col-12 wow fadeInUp\" data-wow-delay=\"0.3s\">
<div class=\"blog-sidebar\">
<div class=\"b-single-widget popular-feeds\">
<h5 class=\"widget-title\">";
// line 173
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%autrecas%"), "html", null, true);
echo "</h5>
<div class=\"popular-feed-loop\">
";
// line 175
$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.', 175, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["cas"]) {
// line 176
echo "
<div class=\"single-popular-feed\">
<div class=\"feed-img\">
<img src=\"";
// line 179
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/images/" . twig_get_attribute($this->env, $this->source, $context["cas"], "image", [], "any", false, false, false, 179))), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cas"], "titreFr", [], "any", false, false, false, 179), "html", null, true);
echo "\">
</div>
<div class=\"feed-desc\">
<h6><a href=\"#\">";
// line 182
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.', 182, $this->source); })()), "request", [], "any", false, false, false, 182), "locale", [], "any", false, false, false, 182), "fr"))) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cas"], "titreFr", [], "any", false, false, false, 182), "html", null, true);
} elseif ((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.', 182, $this->source); })()), "request", [], "any", false, false, false, 182), "locale", [], "any", false, false, false, 182), "en"))) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cas"], "titreEn", [], "any", false, false, false, 182), "html", null, true);
}
echo " </a></h6>
<span class=\"time\"><i class=\"far fa-calendar-alt\"></i> ";
// line 183
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cas"], "date", [], "any", false, false, false, 183), "d/m/y"), "html", null, true);
echo "</span>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cas'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 188
echo "
</div>
</div>
<div class=\"b-single-widget socail-widget\">
<h5 class=\"widget-title\">";
// line 193
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%suivezNous%"), "html", null, true);
echo "</h5>
<ul>
<li class=\"facebook\"><a href=\"https://www.facebook.com/Association-Tunisienne-dUrologie-ATU-101728484906597\"><i class=\"fab fa-facebook-f\"></i></a></li>
<li class=\"instagram\"><a href=\"#\"><i class=\"fab fa-instagram\"></i></a></li>
<li class=\"twitter\"><a href=\"https://twitter.com/ATUrologie\"><i class=\"fab fa-twitter\"></i></a></li>
<li class=\"instagram\"><a href=\"https://www.youtube.com/@urotunisiachannel9507\"><i class=\"fab fa-youtube\"></i></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</section>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "frontend/frontindex/detailCas.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 458 => 193, 451 => 188, 440 => 183, 432 => 182, 424 => 179, 419 => 176, 415 => 175, 410 => 173, 398 => 164, 390 => 159, 381 => 153, 376 => 151, 364 => 146, 352 => 141, 340 => 136, 332 => 131, 327 => 129, 318 => 122, 311 => 120, 304 => 116, 299 => 114, 289 => 109, 285 => 107, 283 => 106, 277 => 103, 272 => 101, 266 => 100, 261 => 97, 247 => 96, 242 => 93, 238 => 92, 232 => 89, 223 => 82, 214 => 78, 211 => 77, 209 => 76, 202 => 74, 192 => 66, 186 => 65, 181 => 63, 177 => 62, 170 => 57, 164 => 54, 154 => 46, 152 => 45, 146 => 44, 133 => 33, 124 => 30, 121 => 29, 117 => 28, 95 => 15, 89 => 14, 83 => 13, 78 => 11, 68 => 3, 58 => 2, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'frontend/frontindex/add.html.twig' %}
{% block body %}
<section class=\"breadcrumbs\" style=\"background-image:url('../../front-assets/assets/img/breadcrumb-bg.jpg')\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-lg-6 offset-lg-3 col-12\">
<div class=\"breadcrumb-content\">
<h4>{{'%EspacePatient%'|trans}}</h4>
<ul class=\"breadcrumb-menu\">
<li><a href=\"{{path('app_accueil')}}\">{{ '%Home%'|trans }}</a><i class=\"far fa-angle-double-right\"></i></li>
<li><a href=\"{{path('cas_index')}}\">{{'%NosCas%'|trans}}</a><i class=\"far fa-angle-double-right\"></i></li>
<li><a href=\"javascript:void(0)\">{{'%cas%'|trans}} : {% if app.request.locale=='fr' %}{{ cas.titreFr }}{% elseif app.request.locale=='en' %}{{ cas.titreEn }}{% endif %}</a></li>
</ul>
</div>
</div>
</div>
</div>
</section>
<section class=\"blog-area blog-archive-area\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-8 offset-md-2 text-center\">
{% for message in app.flashes('success') %}
<div class=\"alert alert-success\">
{{ message }}
</div>
{% endfor %}
</div>
</div>
<div class=\"row\">
<div class=\"col-lg-8 col-12 wow fadeInUp\" data-wow-delay=\"0.2s\">
<div class=\"row\">
<div class=\"col-12\">
<div class=\"single-blog-area single-blog-area-sidebar\">
<div class=\"single-blog-head\">
<div class=\"single-head-img\">
<div class=\"s-blog-head\">
<div class=\"s-blog-img\">
<img src=\"{{ asset('uploads/images/' ~ cas.image) }}\" alt=\"{{cas.titreFr}}\">
{% if cas.video!=null %}
<div class=\"video-main\">
<div class=\"promo-video\">
<div class=\"waves-block\">
<div class=\"waves wave-1\"></div>
<div class=\"waves wave-2\"></div>
<div class=\"waves wave-3\"></div>
</div>
</div>
<a href=\"{{ cas.video }}\" class=\"video video-popup mfp-iframe\" ><i class=\"far fa-play\"></i></a>
</div>
{% endif %}
</div>
</div>
</div>
<div class=\"blog-s-title\">
<div class=\"blog-single-meta\">
<span><img src=\"{{asset('front-assets/assets/img/logo1.png')}}\" alt=\"atu\" width=\"10%\">ATU</span>
<span><i class=\"far fa-calendar-alt\"></i>{{ cas.date |date(\"d/m/y\") }}</span>
</div>
<h3>{% if app.request.locale=='fr' %}{{ cas.titreFr }}{% elseif app.request.locale=='en' %}{{ cas.titreEn }}{% endif %}
</h3>
</div>
</div>
<div class=\"single-content\">
<div class=\"blog-s-middle-img\">
<div class=\"row\">
<div class=\"col-md-4\">
<img src=\"{{ asset('uploads/images/' ~ cas.image) }}\" alt=\"{{cas.titreFr}}\">
</div>
{% if cas.pdf!= null %}
<div class=\"col-md-8\">
<a class=\"btn btn-outline-info btn-lg btn-block\" href=\"{{asset('uploads/uploadCasPatient/' ~ cas.pdf)}}\" target=\"_blank\">{{'%voirPdf%'|trans}}</a>
</div>
{% endif %}
</div>
</div>
</div>
<div class=\"blog-comments\">
<div class=\"comment-title\">
<h3>{{'%Commentaires%'|trans}}</h3>
</div>
<div class=\"comments-body\">
{% for qr in cas.questionReponses %}
<div class=\"single-comments\">
<div class=\"main\">
<div class=\"head\">
{% 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}}\">{% endif %}
</div>
<div class=\"body\">
<div class=\"body-top\">
<h6>{{ qr.prenom }} {{ qr.nom }}</h6>
<span class=\"date-meta\">{{ qr.dateQuestion |date(\"d/m/y\") }}</span>
</div>
<p>{{ qr.question }}</p>
</div>
</div>
{% if qr.reponse != null %}
<div class=\"comment-list\">
<div class=\"head\">
<img src=\"{{asset('front-assets/assets/img/logo1.png')}}\" alt=\"{{qr.question}}\">
</div>
<div class=\"body\">
<div class=\"body-top\">
<h6>ATU</h6>
<span class=\"date-meta\">{{ qr.dateQuestion |date(\"d/m/y\") }}</span>
</div>
<p>{{ qr.reponse }}</p>
</div>
</div>
{% endif %}
</div>
{% endfor %}
</div>
</div>
<div class=\"post-comment\">
<div class=\"comment-title\">
<h3>{{'%Laissezvotrequestion%'|trans}}</h3>
</div>
{{ form_start(form) }}
<div class=\"comment-form\">
<div class=\"row\">
<div class=\"col-lg-6 col-lg-6 col-12\">
<div class=\"form-group\">
<input name=\"{{ field_name(form.nom) }}\" value=\"{{ field_value(form.nom) }}\" placeholder=\"{{ '%nom%'|trans}}\" class=\"form-control\" required/>
</div>
</div>
<div class=\"col-lg-6 col-lg-6 col-12\">
<div class=\"form-group\">
<input name=\"{{ field_name(form.prenom) }}\" value=\"{{ field_value(form.prenom) }}\" placeholder=\"{{ '%prenom%'|trans }}\" class=\"form-control\" required/>
</div>
</div>
<div class=\"col-12\">
<div class=\"form-group\">
<textarea name=\"{{ field_name(form.question) }}\" value=\"{{ field_value(form.question) }}\" placeholder=\"{{ '%question%'|trans|capitalize }}\" class=\"form-control\" required></textarea>
</div>
</div>
<div class=\"col-12\">
<div class=\"form-group\">
<label for=\"image\">{{'%image%'|trans}}</label>
{{form_widget(form.image)}}
</div>
</div>
<div class=\"col-12\">
<div class=\"post-comment-btn\">
<button type=\"submit\" class=\"theme-btn\">{{'%Envoyer%'|trans}}</button>
</div>
</div>
</div>
</div>
{{ form_end(form) }}
</div>
</div>
</div>
</div>
</div>
<div class=\"col-lg-4 col-md-6 col-12 wow fadeInUp\" data-wow-delay=\"0.3s\">
<div class=\"blog-sidebar\">
<div class=\"b-single-widget popular-feeds\">
<h5 class=\"widget-title\">{{'%autrecas%'|trans}}</h5>
<div class=\"popular-feed-loop\">
{% for cas in touscas %}
<div class=\"single-popular-feed\">
<div class=\"feed-img\">
<img src=\"{{ asset('uploads/images/' ~ cas.image) }}\" alt=\"{{cas.titreFr}}\">
</div>
<div class=\"feed-desc\">
<h6><a href=\"#\">{% if app.request.locale=='fr' %}{{ cas.titreFr }}{% elseif app.request.locale=='en' %}{{ cas.titreEn }}{% endif %} </a></h6>
<span class=\"time\"><i class=\"far fa-calendar-alt\"></i> {{ cas.date |date(\"d/m/y\") }}</span>
</div>
</div>
{% endfor %}
</div>
</div>
<div class=\"b-single-widget socail-widget\">
<h5 class=\"widget-title\">{{'%suivezNous%'|trans}}</h5>
<ul>
<li class=\"facebook\"><a href=\"https://www.facebook.com/Association-Tunisienne-dUrologie-ATU-101728484906597\"><i class=\"fab fa-facebook-f\"></i></a></li>
<li class=\"instagram\"><a href=\"#\"><i class=\"fab fa-instagram\"></i></a></li>
<li class=\"twitter\"><a href=\"https://twitter.com/ATUrologie\"><i class=\"fab fa-twitter\"></i></a></li>
<li class=\"instagram\"><a href=\"https://www.youtube.com/@urotunisiachannel9507\"><i class=\"fab fa-youtube\"></i></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</section>
{% endblock %}
", "frontend/frontindex/detailCas.html.twig", "/home/urotunisuz/www/templates/frontend/frontindex/detailCas.html.twig");
}
}