var/cache/dev/twig/97/970bbf3e686e35a9c7ad10b46af211e8e89084fdd24394efcd8931ec97f240b7.php line 48

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. /* frontend/frontindex/detailCas.html.twig */
  14. class __TwigTemplate_88afc47864a5768c0af87b01ea38e9856c3f51af483baf779907380f40f509d5 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.             'body' => [$this, 'block_body'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "frontend/frontindex/add.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros = $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/frontindex/detailCas.html.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/frontindex/detailCas.html.twig"));
  38.         $this->parent = $this->loadTemplate("frontend/frontindex/add.html.twig", "frontend/frontindex/detailCas.html.twig", 1);
  39.         $this->parent->display($context, array_merge($this->blocks, $blocks));
  40.         
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  42.         
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  44.     }
  45.     // line 2
  46.     public function block_body($context, array $blocks = [])
  47.     {
  48.         $macros = $this->macros;
  49.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  51.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  53.         // line 3
  54.         echo "
  55.     <section class=\"breadcrumbs\" style=\"background-image:url('../../front-assets/assets/img/breadcrumb-bg.jpg')\">
  56.         <div class=\"container\">
  57.             <div class=\"row\">
  58.                 <div class=\"col-lg-6 offset-lg-3 col-12\">
  59.                     <div class=\"breadcrumb-content\">
  60.                         <h4>";
  61.         // line 11
  62.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%EspacePatient%"), "html", null, true);
  63.         echo "</h4>
  64.                         <ul class=\"breadcrumb-menu\">
  65.                             <li><a href=\"";
  66.         // line 13
  67.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_accueil");
  68.         echo "\">";
  69.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%Home%"), "html", null, true);
  70.         echo "</a><i class=\"far fa-angle-double-right\"></i></li>
  71.                             <li><a href=\"";
  72.         // line 14
  73.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cas_index");
  74.         echo "\">";
  75.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%NosCas%"), "html", null, true);
  76.         echo "</a><i class=\"far fa-angle-double-right\"></i></li>
  77.                             <li><a href=\"javascript:void(0)\">";
  78.         // line 15
  79.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%cas%"), "html", null, true);
  80.         echo " : ";
  81.         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"))) {
  82.             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);
  83.         } 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"))) {
  84.             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);
  85.         }
  86.         echo "</a></li>
  87.                         </ul>
  88.                     </div>
  89.                 </div>
  90.             </div>
  91.         </div>
  92.     </section>
  93.     <section class=\"blog-area blog-archive-area\">
  94.         <div class=\"container\">
  95.             <div class=\"row\">
  96.                 <div class=\"col-md-8 offset-md-2 text-center\">
  97.                      ";
  98.         // line 28
  99.         $context['_parent'] = $context;
  100.         $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));
  101.         foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  102.             // line 29
  103.             echo "                        <div class=\"alert alert-success\">
  104.                             ";
  105.             // line 30
  106.             echo twig_escape_filter($this->env, $context["message"], "html", null, true);
  107.             echo "
  108.                         </div>
  109.                     ";
  110.         }
  111.         $_parent = $context['_parent'];
  112.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  113.         $context = array_intersect_key($context, $_parent) + $_parent;
  114.         // line 33
  115.         echo "                </div>
  116.             </div>
  117.             <div class=\"row\">
  118.                 <div class=\"col-lg-8 col-12 wow fadeInUp\" data-wow-delay=\"0.2s\">
  119.                     <div class=\"row\">
  120.                         <div class=\"col-12\">
  121.                             <div class=\"single-blog-area single-blog-area-sidebar\">
  122.                                 <div class=\"single-blog-head\">
  123.                                     <div class=\"single-head-img\">
  124.                                         <div class=\"s-blog-head\">
  125.                                             <div class=\"s-blog-img\">
  126.                                                 <img src=\"";
  127.         // line 44
  128.         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);
  129.         echo "\"   alt=\"";
  130.         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);
  131.         echo "\">
  132.                                                 ";
  133.         // line 45
  134.         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))) {
  135.             // line 46
  136.             echo "                                                    <div class=\"video-main\">
  137.                                                         <div class=\"promo-video\">
  138.                                                             <div class=\"waves-block\">
  139.                                                                 <div class=\"waves wave-1\"></div>
  140.                                                                 <div class=\"waves wave-2\"></div>
  141.                                                                 <div class=\"waves wave-3\"></div>
  142.                                                             </div>
  143.                                                         </div>
  144.                                                         <a href=\"";
  145.             // line 54
  146.             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);
  147.             echo "\" class=\"video video-popup mfp-iframe\" ><i class=\"far fa-play\"></i></a>
  148.                                                     </div>
  149.                                                 ";
  150.         }
  151.         // line 57
  152.         echo "                                            </div>
  153.                                         </div>
  154.                                     </div>
  155.                                     <div class=\"blog-s-title\">
  156.                                         <div class=\"blog-single-meta\">
  157.                                             <span><img src=\"";
  158.         // line 62
  159.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front-assets/assets/img/logo1.png"), "html", null, true);
  160.         echo "\" alt=\"atu\" width=\"10%\">ATU</span>
  161.                                             <span><i class=\"far fa-calendar-alt\"></i>";
  162.         // line 63
  163.         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);
  164.         echo "</span>
  165.                                         </div>
  166.                                         <h3>";
  167.         // line 65
  168.         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"))) {
  169.             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);
  170.         } 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"))) {
  171.             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);
  172.         }
  173.         // line 66
  174.         echo "                                         </h3>
  175.                                     </div>
  176.                                     
  177.                                 </div>
  178.                                 <div class=\"single-content\">
  179.                                     <div class=\"blog-s-middle-img\">
  180.                                         <div class=\"row\">
  181.                                             <div class=\"col-md-4\">
  182.                                                 <img src=\"";
  183.         // line 74
  184.         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);
  185.         echo "\"   alt=\"";
  186.         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);
  187.         echo "\">
  188.                                             </div>
  189.                                             ";
  190.         // line 76
  191.         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))) {
  192.             // line 77
  193.             echo "                                                <div class=\"col-md-8\">
  194.                                                     <a class=\"btn btn-outline-info btn-lg btn-block\" href=\"";
  195.             // line 78
  196.             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);
  197.             echo "\" target=\"_blank\">";
  198.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%voirPdf%"), "html", null, true);
  199.             echo "</a>
  200.                                                     
  201.                                                 </div>
  202.                                             ";
  203.         }
  204.         // line 82
  205.         echo "                                            
  206.                                         </div>
  207.                                     </div>
  208.                                 </div>
  209.                                 <div class=\"blog-comments\">
  210.                                     <div class=\"comment-title\">
  211.                                         <h3>";
  212.         // line 89
  213.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%Commentaires%"), "html", null, true);
  214.         echo "</h3>
  215.                                     </div>
  216.                                     <div class=\"comments-body\">
  217.                                         ";
  218.         // line 92
  219.         $context['_parent'] = $context;
  220.         $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));
  221.         foreach ($context['_seq'] as $context["_key"] => $context["qr"]) {
  222.             // line 93
  223.             echo "                                        <div class=\"single-comments\">
  224.                                             <div class=\"main\">
  225.                                                 <div class=\"head\">
  226.                                                     ";
  227.             // line 96
  228.             if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["qr"], "image", [], "any", false, false, false, 96), null))) {
  229.                 echo "<img  src=\"";
  230.                 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);
  231.                 echo "\"   alt=\"";
  232.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "question", [], "any", false, false, false, 96), "html", null, true);
  233.                 echo "\">";
  234.             } elseif ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["qr"], "image", [], "any", false, false, false, 96), null))) {
  235.                 echo "<img src=\"";
  236.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front-assets/assets/img/logo1.png"), "html", null, true);
  237.                 echo "\" alt=\"";
  238.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "question", [], "any", false, false, false, 96), "html", null, true);
  239.                 echo "\">";
  240.             }
  241.             // line 97
  242.             echo "                                                </div>
  243.                                                 <div class=\"body\">
  244.                                                     <div class=\"body-top\">
  245.                                                         <h6>";
  246.             // line 100
  247.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "prenom", [], "any", false, false, false, 100), "html", null, true);
  248.             echo " ";
  249.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "nom", [], "any", false, false, false, 100), "html", null, true);
  250.             echo "</h6>
  251.                                                         <span class=\"date-meta\">";
  252.             // line 101
  253.             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);
  254.             echo "</span>
  255.                                                     </div>
  256.                                                     <p>";
  257.             // line 103
  258.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "question", [], "any", false, false, false, 103), "html", null, true);
  259.             echo "</p>
  260.                                                 </div>
  261.                                             </div>
  262.                                             ";
  263.             // line 106
  264.             if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["qr"], "reponse", [], "any", false, false, false, 106), null))) {
  265.                 // line 107
  266.                 echo "                                            <div class=\"comment-list\">
  267.                                                 <div class=\"head\">
  268.                                                     <img src=\"";
  269.                 // line 109
  270.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front-assets/assets/img/logo1.png"), "html", null, true);
  271.                 echo "\" alt=\"";
  272.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "question", [], "any", false, false, false, 109), "html", null, true);
  273.                 echo "\">
  274.                                                 </div>
  275.                                                 <div class=\"body\">
  276.                                                     <div class=\"body-top\">
  277.                                                         <h6>ATU</h6>
  278.                                                         <span class=\"date-meta\">";
  279.                 // line 114
  280.                 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);
  281.                 echo "</span>
  282.                                                     </div>
  283.                                                     <p>";
  284.                 // line 116
  285.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "reponse", [], "any", false, false, false, 116), "html", null, true);
  286.                 echo "</p>
  287.                                                 </div>
  288.                                             </div>
  289.                                             ";
  290.             }
  291.             // line 120
  292.             echo "                                        </div>
  293.                                         ";
  294.         }
  295.         $_parent = $context['_parent'];
  296.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['qr'], $context['_parent'], $context['loop']);
  297.         $context = array_intersect_key($context, $_parent) + $_parent;
  298.         // line 122
  299.         echo "
  300.                                     </div>
  301.                                 </div>
  302.                                 <div class=\"post-comment\">
  303.                                     <div class=\"comment-title\">
  304.                                         <h3>";
  305.         // line 129
  306.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%Laissezvotrequestion%"), "html", null, true);
  307.         echo "</h3>
  308.                                     </div>
  309.                                     ";
  310.         // line 131
  311.         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');
  312.         echo "
  313.                                         <div class=\"comment-form\">
  314.                                             <div class=\"row\">
  315.                                                 <div class=\"col-lg-6 col-lg-6 col-12\">
  316.                                                     <div class=\"form-group\">
  317.                                                         <input name=\"";
  318.         // line 136
  319.         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);
  320.         echo "\" value=\"";
  321.         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);
  322.         echo "\" placeholder=\"";
  323.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%nom%"), "html", null, true);
  324.         echo "\" class=\"form-control\" required/>
  325.                                                     </div>
  326.                                                 </div>
  327.                                                 <div class=\"col-lg-6 col-lg-6 col-12\">
  328.                                                     <div class=\"form-group\">
  329.                                                         <input name=\"";
  330.         // line 141
  331.         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);
  332.         echo "\" value=\"";
  333.         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);
  334.         echo "\" placeholder=\"";
  335.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%prenom%"), "html", null, true);
  336.         echo "\" class=\"form-control\" required/>
  337.                                                     </div>
  338.                                                 </div>
  339.                                                 <div class=\"col-12\">
  340.                                                     <div class=\"form-group\">
  341.                                                         <textarea name=\"";
  342.         // line 146
  343.         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);
  344.         echo "\" value=\"";
  345.         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);
  346.         echo "\" placeholder=\"";
  347.         echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%question%")), "html", null, true);
  348.         echo "\" class=\"form-control\" required></textarea>
  349.                                                     </div>
  350.                                                 </div>
  351.                                                 <div class=\"col-12\">
  352.                                                     <div class=\"form-group\">
  353.                                                         <label for=\"image\">";
  354.         // line 151
  355.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%image%"), "html", null, true);
  356.         echo "</label>
  357.                                                         ";
  358.         // line 153
  359.         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');
  360.         echo "
  361.                                                     </div>
  362.                                                 </div>
  363.                                                 <div class=\"col-12\">
  364.                                                     <div class=\"post-comment-btn\">
  365.                                                         <button type=\"submit\" class=\"theme-btn\">";
  366.         // line 159
  367.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%Envoyer%"), "html", null, true);
  368.         echo "</button>
  369.                                                     </div>
  370.                                                 </div>
  371.                                             </div>
  372.                                         </div>
  373.                                     ";
  374.         // line 164
  375.         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');
  376.         echo "
  377.                                 </div>
  378.                             </div>
  379.                         </div>
  380.                     </div>
  381.                 </div>
  382.                 <div class=\"col-lg-4 col-md-6 col-12 wow fadeInUp\" data-wow-delay=\"0.3s\">
  383.                     <div class=\"blog-sidebar\">
  384.                         <div class=\"b-single-widget popular-feeds\">
  385.                             <h5 class=\"widget-title\">";
  386.         // line 173
  387.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%autrecas%"), "html", null, true);
  388.         echo "</h5>
  389.                             <div class=\"popular-feed-loop\">
  390.                                 ";
  391.         // line 175
  392.         $context['_parent'] = $context;
  393.         $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); })()));
  394.         foreach ($context['_seq'] as $context["_key"] => $context["cas"]) {
  395.             // line 176
  396.             echo "
  397.                                 <div class=\"single-popular-feed\">
  398.                                     <div class=\"feed-img\">
  399.                                         <img src=\"";
  400.             // line 179
  401.             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);
  402.             echo "\"   alt=\"";
  403.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cas"], "titreFr", [], "any", false, false, false, 179), "html", null, true);
  404.             echo "\">
  405.                                     </div>
  406.                                     <div class=\"feed-desc\">
  407.                                         <h6><a href=\"#\">";
  408.             // line 182
  409.             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"))) {
  410.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cas"], "titreFr", [], "any", false, false, false, 182), "html", null, true);
  411.             } 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"))) {
  412.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cas"], "titreEn", [], "any", false, false, false, 182), "html", null, true);
  413.             }
  414.             echo "  </a></h6>
  415.                                         <span class=\"time\"><i class=\"far fa-calendar-alt\"></i> ";
  416.             // line 183
  417.             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);
  418.             echo "</span>
  419.                                     </div>
  420.                                 </div>
  421.                                 ";
  422.         }
  423.         $_parent = $context['_parent'];
  424.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cas'], $context['_parent'], $context['loop']);
  425.         $context = array_intersect_key($context, $_parent) + $_parent;
  426.         // line 188
  427.         echo "
  428.                             </div>
  429.                         </div>
  430.                         <div class=\"b-single-widget socail-widget\">
  431.                             <h5 class=\"widget-title\">";
  432.         // line 193
  433.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%suivezNous%"), "html", null, true);
  434.         echo "</h5>
  435.                             <ul>
  436.                                 <li class=\"facebook\"><a href=\"https://www.facebook.com/Association-Tunisienne-dUrologie-ATU-101728484906597\"><i class=\"fab fa-facebook-f\"></i></a></li>
  437.                                 <li class=\"instagram\"><a href=\"#\"><i class=\"fab fa-instagram\"></i></a></li>
  438.                                 <li class=\"twitter\"><a href=\"https://twitter.com/ATUrologie\"><i class=\"fab fa-twitter\"></i></a></li>
  439.                                 <li class=\"instagram\"><a href=\"https://www.youtube.com/@urotunisiachannel9507\"><i class=\"fab fa-youtube\"></i></a></li>
  440.                             </ul>
  441.                         </div>
  442.                     </div>
  443.                 </div>
  444.             </div>
  445.         </div>
  446.     </section>
  447. ";
  448.         
  449.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  450.         
  451.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  452.     }
  453.     public function getTemplateName()
  454.     {
  455.         return "frontend/frontindex/detailCas.html.twig";
  456.     }
  457.     public function isTraitable()
  458.     {
  459.         return false;
  460.     }
  461.     public function getDebugInfo()
  462.     {
  463.         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,);
  464.     }
  465.     public function getSourceContext()
  466.     {
  467.         return new Source("{% extends 'frontend/frontindex/add.html.twig' %}
  468. {% block body %}
  469.     <section class=\"breadcrumbs\" style=\"background-image:url('../../front-assets/assets/img/breadcrumb-bg.jpg')\">
  470.         <div class=\"container\">
  471.             <div class=\"row\">
  472.                 <div class=\"col-lg-6 offset-lg-3 col-12\">
  473.                     <div class=\"breadcrumb-content\">
  474.                         <h4>{{'%EspacePatient%'|trans}}</h4>
  475.                         <ul class=\"breadcrumb-menu\">
  476.                             <li><a href=\"{{path('app_accueil')}}\">{{ '%Home%'|trans }}</a><i class=\"far fa-angle-double-right\"></i></li>
  477.                             <li><a href=\"{{path('cas_index')}}\">{{'%NosCas%'|trans}}</a><i class=\"far fa-angle-double-right\"></i></li>
  478.                             <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>
  479.                         </ul>
  480.                     </div>
  481.                 </div>
  482.             </div>
  483.         </div>
  484.     </section>
  485.     <section class=\"blog-area blog-archive-area\">
  486.         <div class=\"container\">
  487.             <div class=\"row\">
  488.                 <div class=\"col-md-8 offset-md-2 text-center\">
  489.                      {% for message in app.flashes('success') %}
  490.                         <div class=\"alert alert-success\">
  491.                             {{ message }}
  492.                         </div>
  493.                     {% endfor %}
  494.                 </div>
  495.             </div>
  496.             <div class=\"row\">
  497.                 <div class=\"col-lg-8 col-12 wow fadeInUp\" data-wow-delay=\"0.2s\">
  498.                     <div class=\"row\">
  499.                         <div class=\"col-12\">
  500.                             <div class=\"single-blog-area single-blog-area-sidebar\">
  501.                                 <div class=\"single-blog-head\">
  502.                                     <div class=\"single-head-img\">
  503.                                         <div class=\"s-blog-head\">
  504.                                             <div class=\"s-blog-img\">
  505.                                                 <img src=\"{{ asset('uploads/images/' ~ cas.image) }}\"   alt=\"{{cas.titreFr}}\">
  506.                                                 {% if cas.video!=null %}
  507.                                                     <div class=\"video-main\">
  508.                                                         <div class=\"promo-video\">
  509.                                                             <div class=\"waves-block\">
  510.                                                                 <div class=\"waves wave-1\"></div>
  511.                                                                 <div class=\"waves wave-2\"></div>
  512.                                                                 <div class=\"waves wave-3\"></div>
  513.                                                             </div>
  514.                                                         </div>
  515.                                                         <a href=\"{{ cas.video }}\" class=\"video video-popup mfp-iframe\" ><i class=\"far fa-play\"></i></a>
  516.                                                     </div>
  517.                                                 {% endif %}
  518.                                             </div>
  519.                                         </div>
  520.                                     </div>
  521.                                     <div class=\"blog-s-title\">
  522.                                         <div class=\"blog-single-meta\">
  523.                                             <span><img src=\"{{asset('front-assets/assets/img/logo1.png')}}\" alt=\"atu\" width=\"10%\">ATU</span>
  524.                                             <span><i class=\"far fa-calendar-alt\"></i>{{ cas.date |date(\"d/m/y\") }}</span>
  525.                                         </div>
  526.                                         <h3>{% if app.request.locale=='fr' %}{{ cas.titreFr }}{% elseif app.request.locale=='en' %}{{ cas.titreEn }}{% endif %}
  527.                                          </h3>
  528.                                     </div>
  529.                                     
  530.                                 </div>
  531.                                 <div class=\"single-content\">
  532.                                     <div class=\"blog-s-middle-img\">
  533.                                         <div class=\"row\">
  534.                                             <div class=\"col-md-4\">
  535.                                                 <img src=\"{{ asset('uploads/images/' ~ cas.image) }}\"   alt=\"{{cas.titreFr}}\">
  536.                                             </div>
  537.                                             {% if cas.pdf!= null %}
  538.                                                 <div class=\"col-md-8\">
  539.                                                     <a class=\"btn btn-outline-info btn-lg btn-block\" href=\"{{asset('uploads/uploadCasPatient/' ~ cas.pdf)}}\" target=\"_blank\">{{'%voirPdf%'|trans}}</a>
  540.                                                     
  541.                                                 </div>
  542.                                             {% endif %}
  543.                                             
  544.                                         </div>
  545.                                     </div>
  546.                                 </div>
  547.                                 <div class=\"blog-comments\">
  548.                                     <div class=\"comment-title\">
  549.                                         <h3>{{'%Commentaires%'|trans}}</h3>
  550.                                     </div>
  551.                                     <div class=\"comments-body\">
  552.                                         {% for qr in cas.questionReponses %}
  553.                                         <div class=\"single-comments\">
  554.                                             <div class=\"main\">
  555.                                                 <div class=\"head\">
  556.                                                     {% 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 %}
  557.                                                 </div>
  558.                                                 <div class=\"body\">
  559.                                                     <div class=\"body-top\">
  560.                                                         <h6>{{ qr.prenom }} {{ qr.nom }}</h6>
  561.                                                         <span class=\"date-meta\">{{ qr.dateQuestion  |date(\"d/m/y\")  }}</span>
  562.                                                     </div>
  563.                                                     <p>{{ qr.question }}</p>
  564.                                                 </div>
  565.                                             </div>
  566.                                             {%  if qr.reponse != null %}
  567.                                             <div class=\"comment-list\">
  568.                                                 <div class=\"head\">
  569.                                                     <img src=\"{{asset('front-assets/assets/img/logo1.png')}}\" alt=\"{{qr.question}}\">
  570.                                                 </div>
  571.                                                 <div class=\"body\">
  572.                                                     <div class=\"body-top\">
  573.                                                         <h6>ATU</h6>
  574.                                                         <span class=\"date-meta\">{{  qr.dateQuestion  |date(\"d/m/y\") }}</span>
  575.                                                     </div>
  576.                                                     <p>{{ qr.reponse }}</p>
  577.                                                 </div>
  578.                                             </div>
  579.                                             {%  endif %}
  580.                                         </div>
  581.                                         {% endfor %}
  582.                                     </div>
  583.                                 </div>
  584.                                 <div class=\"post-comment\">
  585.                                     <div class=\"comment-title\">
  586.                                         <h3>{{'%Laissezvotrequestion%'|trans}}</h3>
  587.                                     </div>
  588.                                     {{ form_start(form) }}
  589.                                         <div class=\"comment-form\">
  590.                                             <div class=\"row\">
  591.                                                 <div class=\"col-lg-6 col-lg-6 col-12\">
  592.                                                     <div class=\"form-group\">
  593.                                                         <input name=\"{{ field_name(form.nom) }}\" value=\"{{ field_value(form.nom) }}\" placeholder=\"{{ '%nom%'|trans}}\" class=\"form-control\" required/>
  594.                                                     </div>
  595.                                                 </div>
  596.                                                 <div class=\"col-lg-6 col-lg-6 col-12\">
  597.                                                     <div class=\"form-group\">
  598.                                                         <input name=\"{{ field_name(form.prenom) }}\" value=\"{{ field_value(form.prenom) }}\" placeholder=\"{{ '%prenom%'|trans }}\" class=\"form-control\" required/>
  599.                                                     </div>
  600.                                                 </div>
  601.                                                 <div class=\"col-12\">
  602.                                                     <div class=\"form-group\">
  603.                                                         <textarea name=\"{{ field_name(form.question) }}\" value=\"{{ field_value(form.question) }}\" placeholder=\"{{ '%question%'|trans|capitalize }}\" class=\"form-control\" required></textarea>
  604.                                                     </div>
  605.                                                 </div>
  606.                                                 <div class=\"col-12\">
  607.                                                     <div class=\"form-group\">
  608.                                                         <label for=\"image\">{{'%image%'|trans}}</label>
  609.                                                         {{form_widget(form.image)}}
  610.                                                     </div>
  611.                                                 </div>
  612.                                                 <div class=\"col-12\">
  613.                                                     <div class=\"post-comment-btn\">
  614.                                                         <button type=\"submit\" class=\"theme-btn\">{{'%Envoyer%'|trans}}</button>
  615.                                                     </div>
  616.                                                 </div>
  617.                                             </div>
  618.                                         </div>
  619.                                     {{ form_end(form) }}
  620.                                 </div>
  621.                             </div>
  622.                         </div>
  623.                     </div>
  624.                 </div>
  625.                 <div class=\"col-lg-4 col-md-6 col-12 wow fadeInUp\" data-wow-delay=\"0.3s\">
  626.                     <div class=\"blog-sidebar\">
  627.                         <div class=\"b-single-widget popular-feeds\">
  628.                             <h5 class=\"widget-title\">{{'%autrecas%'|trans}}</h5>
  629.                             <div class=\"popular-feed-loop\">
  630.                                 {% for cas in touscas %}
  631.                                 <div class=\"single-popular-feed\">
  632.                                     <div class=\"feed-img\">
  633.                                         <img src=\"{{ asset('uploads/images/' ~ cas.image) }}\"   alt=\"{{cas.titreFr}}\">
  634.                                     </div>
  635.                                     <div class=\"feed-desc\">
  636.                                         <h6><a href=\"#\">{% if app.request.locale=='fr' %}{{ cas.titreFr }}{% elseif app.request.locale=='en' %}{{ cas.titreEn }}{% endif %}  </a></h6>
  637.                                         <span class=\"time\"><i class=\"far fa-calendar-alt\"></i> {{ cas.date |date(\"d/m/y\") }}</span>
  638.                                     </div>
  639.                                 </div>
  640.                                 {% endfor %}
  641.                             </div>
  642.                         </div>
  643.                         <div class=\"b-single-widget socail-widget\">
  644.                             <h5 class=\"widget-title\">{{'%suivezNous%'|trans}}</h5>
  645.                             <ul>
  646.                                 <li class=\"facebook\"><a href=\"https://www.facebook.com/Association-Tunisienne-dUrologie-ATU-101728484906597\"><i class=\"fab fa-facebook-f\"></i></a></li>
  647.                                 <li class=\"instagram\"><a href=\"#\"><i class=\"fab fa-instagram\"></i></a></li>
  648.                                 <li class=\"twitter\"><a href=\"https://twitter.com/ATUrologie\"><i class=\"fab fa-twitter\"></i></a></li>
  649.                                 <li class=\"instagram\"><a href=\"https://www.youtube.com/@urotunisiachannel9507\"><i class=\"fab fa-youtube\"></i></a></li>
  650.                             </ul>
  651.                         </div>
  652.                     </div>
  653.                 </div>
  654.             </div>
  655.         </div>
  656.     </section>
  657. {% endblock %}
  658. ", "frontend/frontindex/detailCas.html.twig", "/home/urotunisuz/www/templates/frontend/frontindex/detailCas.html.twig");
  659.     }
  660. }