var/cache/dev/twig/72/7251537a0a72e36ab3ce4d646dda4717592be927dc45e68c1ba3d2afbb025b52.php line 39

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/casFront.html.twig */
  14. class __TwigTemplate_4a58cf8533747e0c6e9c7f3980b665ebe0881e5723502467a0d574e3ff366a4e 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.             'seo' => [$this, 'block_seo'],
  24.             'body' => [$this, 'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "frontend/frontindex/add.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros = $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/frontindex/casFront.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/frontindex/casFront.html.twig"));
  39.         $this->parent = $this->loadTemplate("frontend/frontindex/add.html.twig", "frontend/frontindex/casFront.html.twig", 1);
  40.         $this->parent->display($context, array_merge($this->blocks, $blocks));
  41.         
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  43.         
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  45.     }
  46.     // line 2
  47.     public function block_seo($context, array $blocks = [])
  48.     {
  49.         $macros = $this->macros;
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seo"));
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seo"));
  54.         // line 3
  55.         echo "
  56. \t";
  57.         // line 4
  58.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("seo", ["page" => 23]));
  59.         // line 7
  60.         echo "
  61. ";
  62.         
  63.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  64.         
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  66.     }
  67.     // line 10
  68.     public function block_body($context, array $blocks = [])
  69.     {
  70.         $macros = $this->macros;
  71.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  73.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  75.         // line 11
  76.         echo "\t<section class=\"breadcrumbs\" style=\"background-image:url('../front-assets/assets/img/breadcrumb-bg.jpg')\">
  77. \t\t<div class=\"container\">
  78. \t\t\t<div class=\"row\">
  79. \t\t\t\t<div class=\"col-lg-6 offset-lg-3 col-12\">
  80. \t\t\t\t\t<div class=\"breadcrumb-content\">
  81. \t\t\t\t\t\t<h1>";
  82.         // line 17
  83.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%EspacePatient%"), "html", null, true);
  84.         echo "</h1>
  85. \t\t\t\t\t\t<ul class=\"breadcrumb-menu\">
  86. \t\t\t\t\t\t\t<li>
  87. \t\t\t\t\t\t\t\t<a href=\"";
  88.         // line 20
  89.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_accueil");
  90.         echo "\">";
  91.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%Home%"), "html", null, true);
  92.         echo "</a>
  93. \t\t\t\t\t\t\t\t<i class=\"far fa-angle-double-right\"></i>
  94. \t\t\t\t\t\t\t</li>
  95. \t\t\t\t\t\t\t<li>
  96. \t\t\t\t\t\t\t\t<a href=\"";
  97.         // line 24
  98.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cas_index");
  99.         echo "\">";
  100.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%NosCas%"), "html", null, true);
  101.         echo "</a>
  102. \t\t\t\t\t\t\t</li>
  103. \t\t\t\t\t\t</ul>
  104. \t\t\t\t\t</div>
  105. \t\t\t\t</div>
  106. \t\t\t</div>
  107. \t\t</div>
  108. \t</section>
  109. \t<section class=\"department-area\">
  110. \t\t<div class=\"container\">
  111. \t\t\t<div class=\"department-details-main\">
  112. \t\t\t\t<div class=\"row\">
  113. \t\t\t\t\t<div class=\"col-md-8 offset-md-2 text-center\">
  114. \t\t\t\t\t\t";
  115.         // line 37
  116.         $context['_parent'] = $context;
  117.         $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));
  118.         foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  119.             // line 38
  120.             echo "\t\t\t\t\t\t\t<div class=\"alert alert-success\">
  121. \t\t\t\t\t\t\t\t";
  122.             // line 39
  123.             echo twig_escape_filter($this->env, $context["message"], "html", null, true);
  124.             echo "
  125. \t\t\t\t\t\t\t</div>
  126. \t\t\t\t\t\t";
  127.         }
  128.         $_parent = $context['_parent'];
  129.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  130.         $context = array_intersect_key($context, $_parent) + $_parent;
  131.         // line 42
  132.         echo "\t\t\t\t\t</div>
  133. \t\t\t\t</div>
  134. \t\t\t\t<div class=\"row\">
  135. \t\t\t\t\t";
  136.         // line 45
  137.         $context['_parent'] = $context;
  138.         $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); })()));
  139.         foreach ($context['_seq'] as $context["_key"] => $context["cas"]) {
  140.             // line 46
  141.             echo "\t\t\t\t\t\t<div class=\"col-md-3\">
  142. \t\t\t\t\t\t\t<a href=\"";
  143.             // line 47
  144.             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);
  145.             echo "\">
  146. \t\t\t\t\t\t\t\t<div class=\"department-single\">
  147. \t\t\t\t\t\t\t\t\t<i class=\"far fa-kidneys\"></i>
  148. \t\t\t\t\t\t\t\t\t<h3 class=\"h6\">
  149. \t\t\t\t\t\t\t\t\t\t<strong>
  150. \t\t\t\t\t\t\t\t\t\t\t";
  151.             // line 52
  152.             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"))) {
  153.                 // line 53
  154.                 echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  155.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cas"], "titreFr", [], "any", false, false, false, 53), "html", null, true);
  156.                 echo "
  157. \t\t\t\t\t\t\t\t\t\t\t";
  158.             } elseif ((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source,             // line 54
  159. (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"))) {
  160.                 // line 55
  161.                 echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  162.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cas"], "titreEn", [], "any", false, false, false, 55), "html", null, true);
  163.                 echo "
  164. \t\t\t\t\t\t\t\t\t\t\t";
  165.             }
  166.             // line 57
  167.             echo "\t\t\t\t\t\t\t\t\t\t</strong>
  168. \t\t\t\t\t\t\t\t\t</h3>
  169. \t\t\t\t\t\t\t\t</div>
  170. \t\t\t\t\t\t\t</a>
  171. \t\t\t\t\t\t</div>
  172. \t\t\t\t\t";
  173.         }
  174.         $_parent = $context['_parent'];
  175.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cas'], $context['_parent'], $context['loop']);
  176.         $context = array_intersect_key($context, $_parent) + $_parent;
  177.         // line 63
  178.         echo "\t\t\t\t</div>
  179. \t\t\t\t<div class=\"row\">
  180. \t\t\t\t\t<div class=\"col-12\">
  181. \t\t\t\t\t\t";
  182.         // line 66
  183.         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); })()));
  184.         echo "
  185. \t\t\t\t\t</div>
  186. \t\t\t\t</div>
  187. \t\t\t\t<div class=\"row\">
  188. \t\t\t\t\t<div class=\"col-md-12\">
  189. \t\t\t\t\t\t<div class=\"post-comment\">
  190. \t\t\t\t\t\t\t<div class=\"comment-title\">
  191. \t\t\t\t\t\t\t\t<h2>";
  192.         // line 73
  193.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%AutresQuestion%"), "html", null, true);
  194.         echo "</h2>
  195. \t\t\t\t\t\t\t</div>
  196. \t\t\t\t\t\t\t";
  197.         // line 75
  198.         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');
  199.         echo "
  200. \t\t\t\t\t\t\t<div class=\"comment-form\">
  201. \t\t\t\t\t\t\t\t<div class=\"row\">
  202. \t\t\t\t\t\t\t\t\t<div class=\"col-lg-6 col-lg-6 col-12\">
  203. \t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
  204. \t\t\t\t\t\t\t\t\t\t\t<input name=\"";
  205.         // line 80
  206.         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);
  207.         echo "\" value=\"";
  208.         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);
  209.         echo "\" placeholder=\"";
  210.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%nom%"), "html", null, true);
  211.         echo "\" class=\"form-control\" required/>
  212. \t\t\t\t\t\t\t\t\t\t</div>
  213. \t\t\t\t\t\t\t\t\t</div>
  214. \t\t\t\t\t\t\t\t\t<div class=\"col-lg-6 col-lg-6 col-12\">
  215. \t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
  216. \t\t\t\t\t\t\t\t\t\t\t<input name=\"";
  217.         // line 85
  218.         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);
  219.         echo "\" value=\"";
  220.         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);
  221.         echo "\" placeholder=\"";
  222.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%prenom%"), "html", null, true);
  223.         echo "\" class=\"form-control\" required/>
  224. \t\t\t\t\t\t\t\t\t\t</div>
  225. \t\t\t\t\t\t\t\t\t</div>
  226. \t\t\t\t\t\t\t\t\t<div class=\"col-12\">
  227. \t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
  228. \t\t\t\t\t\t\t\t\t\t\t<textarea name=\"";
  229.         // line 90
  230.         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);
  231.         echo "\" value=\"";
  232.         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);
  233.         echo "\" placeholder=\"";
  234.         echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%question%")), "html", null, true);
  235.         echo "\" class=\"form-control\" required></textarea>
  236. \t\t\t\t\t\t\t\t\t\t</div>
  237. \t\t\t\t\t\t\t\t\t</div>
  238. \t\t\t\t\t\t\t\t\t<div class=\"col-12\">
  239. \t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
  240. \t\t\t\t\t\t\t\t\t\t\t<label for=\"image\">";
  241.         // line 95
  242.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%image%"), "html", null, true);
  243.         echo "</label>
  244. \t\t\t\t\t\t\t\t\t\t\t";
  245.         // line 97
  246.         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');
  247.         echo "
  248. \t\t\t\t\t\t\t\t\t\t</div>
  249. \t\t\t\t\t\t\t\t\t</div>
  250. \t\t\t\t\t\t\t\t\t<div class=\"col-12\">
  251. \t\t\t\t\t\t\t\t\t\t<div class=\"post-comment-btn\">
  252. \t\t\t\t\t\t\t\t\t\t\t<input
  253. \t\t\t\t\t\t\t\t\t\t\ttype=\"submit\" value=\"Ajouter\" class=\"theme-btn\"/>
  254. \t\t\t\t\t\t\t\t\t\t";
  255.         // line 106
  256.         echo "\t\t\t\t\t\t\t\t\t\t</div>
  257. \t\t\t\t\t\t\t\t\t</div>
  258. \t\t\t\t\t\t\t\t</div>
  259. \t\t\t\t\t\t\t</div>
  260. \t\t\t\t\t\t\t";
  261.         // line 110
  262.         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');
  263.         echo "
  264. \t\t\t\t\t\t</div>
  265. \t\t\t\t\t</div>
  266. \t\t\t\t</div>
  267. \t\t\t\t<div class=\"row\">
  268. \t\t\t\t\t<div class=\"col-md-12\">
  269. \t\t\t\t\t\t<div class=\"blog-comments\">
  270. \t\t\t\t\t\t\t<div class=\"comment-title\">
  271. \t\t\t\t\t\t\t\t<h2>";
  272.         // line 118
  273.         echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%questions%")), "html", null, true);
  274.         echo "</h2>
  275. \t\t\t\t\t\t\t</div>
  276. \t\t\t\t\t\t\t<div class=\"comments-body row\">
  277. \t\t\t\t\t\t\t\t";
  278.         // line 121
  279.         $context['_parent'] = $context;
  280.         $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); })()));
  281.         foreach ($context['_seq'] as $context["_key"] => $context["qr"]) {
  282.             // line 122
  283.             echo "\t\t\t\t\t\t\t\t\t<div class=\"single-comments\">
  284. \t\t\t\t\t\t\t\t\t\t<div class=\"main\">
  285. \t\t\t\t\t\t\t\t\t\t\t<div class=\"head\">
  286. \t\t\t\t\t\t\t\t\t\t\t\t";
  287.             // line 125
  288.             if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["qr"], "image", [], "any", false, false, false, 125), null))) {
  289.                 echo "<img src=\"";
  290.                 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);
  291.                 echo "\" alt=\"";
  292.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "question", [], "any", false, false, false, 125), "html", null, true);
  293.                 echo "\">";
  294.             } elseif ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["qr"], "image", [], "any", false, false, false, 125), null))) {
  295.                 echo "<img src=\"";
  296.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front-assets/assets/img/logo1.png"), "html", null, true);
  297.                 echo "\" alt=\"";
  298.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "question", [], "any", false, false, false, 125), "html", null, true);
  299.                 echo "\">
  300. \t\t\t\t\t\t\t\t\t\t\t\t";
  301.             }
  302.             // line 127
  303.             echo "\t\t\t\t\t\t\t\t\t\t\t</div>
  304. \t\t\t\t\t\t\t\t\t\t\t<div class=\"body\">
  305. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"body-top\">
  306. \t\t\t\t\t\t\t\t\t\t\t\t\t<h6>";
  307.             // line 130
  308.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "prenom", [], "any", false, false, false, 130), "html", null, true);
  309.             echo "
  310. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  311.             // line 131
  312.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "nom", [], "any", false, false, false, 131), "html", null, true);
  313.             echo "</h6>
  314. \t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"date-meta\">";
  315.             // line 132
  316.             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);
  317.             echo "</span>
  318. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  319. \t\t\t\t\t\t\t\t\t\t\t\t<p>";
  320.             // line 134
  321.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "question", [], "any", false, false, false, 134), "html", null, true);
  322.             echo "</p>
  323. \t\t\t\t\t\t\t\t\t\t\t</div>
  324. \t\t\t\t\t\t\t\t\t\t</div>
  325. \t\t\t\t\t\t\t\t\t\t";
  326.             // line 137
  327.             if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["qr"], "reponse", [], "any", false, false, false, 137), null))) {
  328.                 // line 138
  329.                 echo "\t\t\t\t\t\t\t\t\t\t\t<div class=\"comment-list\">
  330. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"head\">
  331. \t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  332.                 // line 140
  333.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front-assets/assets/img/logo1.png"), "html", null, true);
  334.                 echo "\" alt=\"";
  335.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "question", [], "any", false, false, false, 140), "html", null, true);
  336.                 echo "\">
  337. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  338. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"body\">
  339. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"body-top\">
  340. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<h6>ATU</h6>
  341. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"date-meta\">";
  342.                 // line 145
  343.                 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);
  344.                 echo "</span>
  345. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  346. \t\t\t\t\t\t\t\t\t\t\t\t\t<p>";
  347.                 // line 147
  348.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["qr"], "reponse", [], "any", false, false, false, 147), "html", null, true);
  349.                 echo "</p>
  350. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  351. \t\t\t\t\t\t\t\t\t\t\t</div>
  352. \t\t\t\t\t\t\t\t\t\t";
  353.             }
  354.             // line 151
  355.             echo "\t\t\t\t\t\t\t\t\t</div>
  356. \t\t\t\t\t\t\t\t";
  357.         }
  358.         $_parent = $context['_parent'];
  359.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['qr'], $context['_parent'], $context['loop']);
  360.         $context = array_intersect_key($context, $_parent) + $_parent;
  361.         // line 153
  362.         echo "\t\t\t\t\t\t\t</div>
  363. \t\t\t\t\t\t\t<div class=\"row\">
  364. \t\t\t\t\t\t\t\t<div class=\"col-12\">
  365. \t\t\t\t\t\t\t\t\t";
  366.         // line 156
  367.         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); })()));
  368.         echo "
  369. \t\t\t\t\t\t\t\t</div>
  370. \t\t\t\t\t\t\t</div>
  371. \t\t\t\t\t\t</div>
  372. \t\t\t\t\t</div>
  373. \t\t\t\t</div>
  374. \t\t\t</div>
  375. \t\t</div>
  376. \t</section>
  377. ";
  378.         
  379.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  380.         
  381.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  382.     }
  383.     public function getTemplateName()
  384.     {
  385.         return "frontend/frontindex/casFront.html.twig";
  386.     }
  387.     public function isTraitable()
  388.     {
  389.         return false;
  390.     }
  391.     public function getDebugInfo()
  392.     {
  393.         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,);
  394.     }
  395.     public function getSourceContext()
  396.     {
  397.         return new Source("{% extends 'frontend/frontindex/add.html.twig' %}
  398. {% block seo %}
  399. \t{{ render(path(
  400. \t\t'seo',
  401. \t\t{ 'page':23 }
  402. \t)) }}
  403. {% endblock %}
  404. {% block body %}
  405. \t<section class=\"breadcrumbs\" style=\"background-image:url('../front-assets/assets/img/breadcrumb-bg.jpg')\">
  406. \t\t<div class=\"container\">
  407. \t\t\t<div class=\"row\">
  408. \t\t\t\t<div class=\"col-lg-6 offset-lg-3 col-12\">
  409. \t\t\t\t\t<div class=\"breadcrumb-content\">
  410. \t\t\t\t\t\t<h1>{{'%EspacePatient%'|trans}}</h1>
  411. \t\t\t\t\t\t<ul class=\"breadcrumb-menu\">
  412. \t\t\t\t\t\t\t<li>
  413. \t\t\t\t\t\t\t\t<a href=\"{{path('app_accueil')}}\">{{ '%Home%'|trans }}</a>
  414. \t\t\t\t\t\t\t\t<i class=\"far fa-angle-double-right\"></i>
  415. \t\t\t\t\t\t\t</li>
  416. \t\t\t\t\t\t\t<li>
  417. \t\t\t\t\t\t\t\t<a href=\"{{path('cas_index')}}\">{{'%NosCas%'|trans}}</a>
  418. \t\t\t\t\t\t\t</li>
  419. \t\t\t\t\t\t</ul>
  420. \t\t\t\t\t</div>
  421. \t\t\t\t</div>
  422. \t\t\t</div>
  423. \t\t</div>
  424. \t</section>
  425. \t<section class=\"department-area\">
  426. \t\t<div class=\"container\">
  427. \t\t\t<div class=\"department-details-main\">
  428. \t\t\t\t<div class=\"row\">
  429. \t\t\t\t\t<div class=\"col-md-8 offset-md-2 text-center\">
  430. \t\t\t\t\t\t{% for message in app.flashes('success') %}
  431. \t\t\t\t\t\t\t<div class=\"alert alert-success\">
  432. \t\t\t\t\t\t\t\t{{ message }}
  433. \t\t\t\t\t\t\t</div>
  434. \t\t\t\t\t\t{% endfor %}
  435. \t\t\t\t\t</div>
  436. \t\t\t\t</div>
  437. \t\t\t\t<div class=\"row\">
  438. \t\t\t\t\t{% for cas in touscas %}
  439. \t\t\t\t\t\t<div class=\"col-md-3\">
  440. \t\t\t\t\t\t\t<a href=\"{{ path('detail_cas',{id:cas.id})}}\">
  441. \t\t\t\t\t\t\t\t<div class=\"department-single\">
  442. \t\t\t\t\t\t\t\t\t<i class=\"far fa-kidneys\"></i>
  443. \t\t\t\t\t\t\t\t\t<h3 class=\"h6\">
  444. \t\t\t\t\t\t\t\t\t\t<strong>
  445. \t\t\t\t\t\t\t\t\t\t\t{% if app.request.locale == 'fr' %}
  446. \t\t\t\t\t\t\t\t\t\t\t\t{{ cas.titreFr }}
  447. \t\t\t\t\t\t\t\t\t\t\t{% elseif app.request.locale == 'en' %}
  448. \t\t\t\t\t\t\t\t\t\t\t\t{{ cas.titreEn }}
  449. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  450. \t\t\t\t\t\t\t\t\t\t</strong>
  451. \t\t\t\t\t\t\t\t\t</h3>
  452. \t\t\t\t\t\t\t\t</div>
  453. \t\t\t\t\t\t\t</a>
  454. \t\t\t\t\t\t</div>
  455. \t\t\t\t\t{% endfor %}
  456. \t\t\t\t</div>
  457. \t\t\t\t<div class=\"row\">
  458. \t\t\t\t\t<div class=\"col-12\">
  459. \t\t\t\t\t\t{{ knp_pagination_render(touscas) }}
  460. \t\t\t\t\t</div>
  461. \t\t\t\t</div>
  462. \t\t\t\t<div class=\"row\">
  463. \t\t\t\t\t<div class=\"col-md-12\">
  464. \t\t\t\t\t\t<div class=\"post-comment\">
  465. \t\t\t\t\t\t\t<div class=\"comment-title\">
  466. \t\t\t\t\t\t\t\t<h2>{{'%AutresQuestion%'|trans}}</h2>
  467. \t\t\t\t\t\t\t</div>
  468. \t\t\t\t\t\t\t{{ form_start(form) }}
  469. \t\t\t\t\t\t\t<div class=\"comment-form\">
  470. \t\t\t\t\t\t\t\t<div class=\"row\">
  471. \t\t\t\t\t\t\t\t\t<div class=\"col-lg-6 col-lg-6 col-12\">
  472. \t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
  473. \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/>
  474. \t\t\t\t\t\t\t\t\t\t</div>
  475. \t\t\t\t\t\t\t\t\t</div>
  476. \t\t\t\t\t\t\t\t\t<div class=\"col-lg-6 col-lg-6 col-12\">
  477. \t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
  478. \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/>
  479. \t\t\t\t\t\t\t\t\t\t</div>
  480. \t\t\t\t\t\t\t\t\t</div>
  481. \t\t\t\t\t\t\t\t\t<div class=\"col-12\">
  482. \t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
  483. \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>
  484. \t\t\t\t\t\t\t\t\t\t</div>
  485. \t\t\t\t\t\t\t\t\t</div>
  486. \t\t\t\t\t\t\t\t\t<div class=\"col-12\">
  487. \t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
  488. \t\t\t\t\t\t\t\t\t\t\t<label for=\"image\">{{'%image%'|trans}}</label>
  489. \t\t\t\t\t\t\t\t\t\t\t{{form_widget(form.image)}}
  490. \t\t\t\t\t\t\t\t\t\t</div>
  491. \t\t\t\t\t\t\t\t\t</div>
  492. \t\t\t\t\t\t\t\t\t<div class=\"col-12\">
  493. \t\t\t\t\t\t\t\t\t\t<div class=\"post-comment-btn\">
  494. \t\t\t\t\t\t\t\t\t\t\t<input
  495. \t\t\t\t\t\t\t\t\t\t\ttype=\"submit\" value=\"Ajouter\" class=\"theme-btn\"/>
  496. \t\t\t\t\t\t\t\t\t\t{# <button type=\"submit\" class=\"theme-btn\">{{'%Envoyer%'|trans}}</button> #}
  497. \t\t\t\t\t\t\t\t\t\t</div>
  498. \t\t\t\t\t\t\t\t\t</div>
  499. \t\t\t\t\t\t\t\t</div>
  500. \t\t\t\t\t\t\t</div>
  501. \t\t\t\t\t\t\t{{ form_end(form) }}
  502. \t\t\t\t\t\t</div>
  503. \t\t\t\t\t</div>
  504. \t\t\t\t</div>
  505. \t\t\t\t<div class=\"row\">
  506. \t\t\t\t\t<div class=\"col-md-12\">
  507. \t\t\t\t\t\t<div class=\"blog-comments\">
  508. \t\t\t\t\t\t\t<div class=\"comment-title\">
  509. \t\t\t\t\t\t\t\t<h2>{{'%questions%'|trans|capitalize}}</h2>
  510. \t\t\t\t\t\t\t</div>
  511. \t\t\t\t\t\t\t<div class=\"comments-body row\">
  512. \t\t\t\t\t\t\t\t{% for qr in questionReponsesGeneraux %}
  513. \t\t\t\t\t\t\t\t\t<div class=\"single-comments\">
  514. \t\t\t\t\t\t\t\t\t\t<div class=\"main\">
  515. \t\t\t\t\t\t\t\t\t\t\t<div class=\"head\">
  516. \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}}\">
  517. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  518. \t\t\t\t\t\t\t\t\t\t\t</div>
  519. \t\t\t\t\t\t\t\t\t\t\t<div class=\"body\">
  520. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"body-top\">
  521. \t\t\t\t\t\t\t\t\t\t\t\t\t<h6>{{ qr.prenom }}
  522. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ qr.nom }}</h6>
  523. \t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"date-meta\">{{ qr.dateQuestion  |date(\"d/m/y\")  }}</span>
  524. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  525. \t\t\t\t\t\t\t\t\t\t\t\t<p>{{ qr.question }}</p>
  526. \t\t\t\t\t\t\t\t\t\t\t</div>
  527. \t\t\t\t\t\t\t\t\t\t</div>
  528. \t\t\t\t\t\t\t\t\t\t{%  if qr.reponse != null %}
  529. \t\t\t\t\t\t\t\t\t\t\t<div class=\"comment-list\">
  530. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"head\">
  531. \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}}\">
  532. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  533. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"body\">
  534. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"body-top\">
  535. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<h6>ATU</h6>
  536. \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>
  537. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  538. \t\t\t\t\t\t\t\t\t\t\t\t\t<p>{{ qr.reponse }}</p>
  539. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  540. \t\t\t\t\t\t\t\t\t\t\t</div>
  541. \t\t\t\t\t\t\t\t\t\t{%  endif %}
  542. \t\t\t\t\t\t\t\t\t</div>
  543. \t\t\t\t\t\t\t\t{% endfor %}
  544. \t\t\t\t\t\t\t</div>
  545. \t\t\t\t\t\t\t<div class=\"row\">
  546. \t\t\t\t\t\t\t\t<div class=\"col-12\">
  547. \t\t\t\t\t\t\t\t\t{{ knp_pagination_render(questionReponsesGeneraux) }}
  548. \t\t\t\t\t\t\t\t</div>
  549. \t\t\t\t\t\t\t</div>
  550. \t\t\t\t\t\t</div>
  551. \t\t\t\t\t</div>
  552. \t\t\t\t</div>
  553. \t\t\t</div>
  554. \t\t</div>
  555. \t</section>
  556. {% endblock %}
  557. ", "frontend/frontindex/casFront.html.twig", "/home/urotunisuz/www/templates/frontend/frontindex/casFront.html.twig");
  558.     }
  559. }