var/cache/dev/twig/f2/f2c1181d0ee592e1c2bf8cde954996e5.php line 55

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* admin/experience/add/addHighlights.html.twig */
  15. class __TwigTemplate_d345a0f5eeb395877b3951a96592a441 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'page_title' => [$this'block_page_title'],
  25.             'breadcump_main' => [$this'block_breadcump_main'],
  26.             'breadcump_subtitle' => [$this'block_breadcump_subtitle'],
  27.             'menu_left_sidebar' => [$this'block_menu_left_sidebar'],
  28.             'stylesheets' => [$this'block_stylesheets'],
  29.             'content' => [$this'block_content'],
  30.             'javascripts' => [$this'block_javascripts'],
  31.         ];
  32.     }
  33.     protected function doGetParent(array $context)
  34.     {
  35.         // line 1
  36.         return "admin/baseAdmin.html.twig";
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = [])
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""admin/experience/add/addHighlights.html.twig"));
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""admin/experience/add/addHighlights.html.twig"));
  45.         $this->parent $this->loadTemplate("admin/baseAdmin.html.twig""admin/experience/add/addHighlights.html.twig"1);
  46.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 2
  53.     public function block_page_title($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_title"));
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_title"));
  60.         yield "Lister les ponits fort ";
  61.         
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  63.         
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  65.         return; yield '';
  66.     }
  67.     // line 3
  68.     public function block_breadcump_main($context, array $blocks = [])
  69.     {
  70.         $macros $this->macros;
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcump_main"));
  73.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcump_main"));
  75.         yield "Experiences";
  76.         
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  78.         
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  80.         return; yield '';
  81.     }
  82.     // line 4
  83.     public function block_breadcump_subtitle($context, array $blocks = [])
  84.     {
  85.         $macros $this->macros;
  86.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcump_subtitle"));
  88.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcump_subtitle"));
  90.         yield "Points fort";
  91.         
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  93.         
  94.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  95.         return; yield '';
  96.     }
  97.     // line 5
  98.     public function block_menu_left_sidebar($context, array $blocks = [])
  99.     {
  100.         $macros $this->macros;
  101.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  102.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu_left_sidebar"));
  103.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  104.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu_left_sidebar"));
  105.         // line 6
  106.         yield "    ";
  107.         yield from         $this->loadTemplate("include/menu/menuAdmin.html.twig""admin/experience/add/addHighlights.html.twig"6)->unwrap()->yield(CoreExtension::merge($context, ["menu_active_event" => "2"]));
  108.         
  109.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  110.         
  111.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  112.         return; yield '';
  113.     }
  114.     // line 8
  115.     public function block_stylesheets($context, array $blocks = [])
  116.     {
  117.         $macros $this->macros;
  118.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  119.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  120.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  121.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  122.         // line 9
  123.         yield "    <link href=\"";
  124.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/select2/css/select2.min.css"), "html"nulltrue);
  125.         yield "\" rel=\"stylesheet\" type=\"text/css\">
  126.     <link href=\"";
  127.         // line 10
  128.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/css/tailwind.min.css"), "html"nulltrue);
  129.         yield "\" rel=\"stylesheet\" type=\"text/css\">
  130.     <link href=\"";
  131.         // line 11
  132.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/css/tailwind2.css"), "html"nulltrue);
  133.         yield "\" rel=\"stylesheet\" type=\"text/css\">
  134. ";
  135.         
  136.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  137.         
  138.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  139.         return; yield '';
  140.     }
  141.     // line 14
  142.     public function block_content($context, array $blocks = [])
  143.     {
  144.         $macros $this->macros;
  145.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  146.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  147.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  148.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  149.         // line 15
  150.         yield "    <form id=\"form-general\" class=\"general-info custom-validation\" method=\"POST\" action=\"";
  151.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("add_highlights", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["experience"]) || array_key_exists("experience"$context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.'15$this->source); })()), "id", [], "any"falsefalsefalse15)]), "html"nulltrue);
  152.         yield "\" enctype=\"multipart/form-data\"  >
  153.         <div class=\"container-fluid\">
  154.             <div class=\"row\">
  155.                 <div class=\"col-xl-12 px-0\">
  156.                     <div class=\"card\">
  157.                         <div class=\"card-body\">
  158.                             <div class=\"bar-top sm:flex block gap-2 bg-white p-2 pb-3 mb-8 text-uppercase rounded-2xl flex-wrap border-b border-gray-200\">
  159.                                 <h3 class=\"text-sm  cursor-pointer hover:text-orange pt-2 \" id=\"general-info\">General Info</h3>
  160.                                 <span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
  161.                                 <h3 class=\"text-sm  cursor-pointer hover:text-orange  pt-2 \" id=\"gallery\">Hébergement</h3>
  162.                                 <span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
  163.                                 <h3 class=\"text-sm  cursor-pointer hover:text-orange  pt-2 \" id=\"gallery\">Gallery</h3>
  164.                                 <span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
  165.                                 <h3 class=\"text-sm  cursor-pointer hover:text-orange pt-2 \" id=\"itineraire\">Programme</h3>
  166.                                 <span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
  167.                                 <h3 class=\"text-sm  cursor-pointer hover:text-orange pt-2 \" id=\"highlights\">Description</h3>
  168.                                 <span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
  169.                                 <h3 class=\"text-sm  cursor-pointer hover:text-orange pt-2 \" id=\"dispo\">Disponibilité</h3>
  170.                                 <span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
  171.                                 <h3 class=\"text-sm  cursor-pointer hover:text-orange pt-2 \" id=\"disponibilite\">Tarification</h3>
  172.                                 <span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
  173.                                 <h3 class=\"text-sm  cursor-pointer hover:text-orange pt-2 active-nav\" id=\"faq\">Points Forts</h3>
  174.                             </div> 
  175.                             <div class=\"sm:p-4 p-2 pb-0 pt-1\" id=\"myform2\">
  176.                                 <div class=\"row\">
  177.                                     <div class=\"col-md-6\">
  178.                                         <div class=\"form-floating mb-3\">
  179.                                             <label class=\"form-label\">Destination</label>
  180.                                             <select  required=\"\" name=\"destination\" class=\"form-select form-select6LG select2-tags\" id=\"floatingSelectGrid\" aria-label=\"Floating label select example\">
  181.                                                 ";
  182.         // line 47
  183.         $context['_parent'] = $context;
  184.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["country"]) || array_key_exists("country"$context) ? $context["country"] : (function () { throw new RuntimeError('Variable "country" does not exist.'47$this->source); })()), "destinations", [], "any"falsefalsefalse47));
  185.         foreach ($context['_seq'] as $context["_key"] => $context["destination"]) {
  186.             // line 48
  187.             yield "                                                    <option value=\"";
  188.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["destination"], "id", [], "any"falsefalsefalse48), "html"nulltrue);
  189.             yield "\" >";
  190.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["destination"], "name", [], "any"falsefalsefalse48), "html"nulltrue);
  191.             yield "</option>
  192.                                                 ";
  193.         }
  194.         $_parent $context['_parent'];
  195.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['destination'], $context['_parent'], $context['loop']);
  196.         $context array_intersect_key($context$_parent) + $_parent;
  197.         // line 50
  198.         yield "                                            </select>
  199.                                         </div>
  200.                                     </div>
  201.                                     <div class=\"col-md-6\">
  202.                                         <div class=\"form-floating mb-3\">
  203.                                             <label class=\"form-label\">Sous catégorie</label>
  204.                                             <select  required=\"\" name=\"subcategory\" class=\"form-select form-select6LG select2\" id=\"floatingSelect\" aria-label=\"Floating label select example\">
  205.                                                 ";
  206.         // line 57
  207.         $context['_parent'] = $context;
  208.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'57$this->source); })()), "subcategories", [], "any"falsefalsefalse57));
  209.         foreach ($context['_seq'] as $context["_key"] => $context["subcategory"]) {
  210.             // line 58
  211.             yield "                                                    <option value=\"";
  212.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["subcategory"], "id", [], "any"falsefalsefalse58), "html"nulltrue);
  213.             yield "\" >";
  214.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["subcategory"], "name", [], "any"falsefalsefalse58), "html"nulltrue);
  215.             yield "</option>
  216.                                                 ";
  217.         }
  218.         $_parent $context['_parent'];
  219.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['subcategory'], $context['_parent'], $context['loop']);
  220.         $context array_intersect_key($context$_parent) + $_parent;
  221.         // line 60
  222.         yield "                                            </select>
  223.                                         </div>
  224.                                     </div>
  225.                                 </div>
  226.                                 <h5 class=\"text-lg font-semibold mt-5 \">Points Forts</h5>
  227.                                 <p class=\"text-gray-700 text-sm\">Ajouter les points forts qui marque votre expérience. </p>
  228.                                 <div class=\"divider w-2/6 mt-1 mb-5\"></div>
  229.                                 <div id=\"faq-forms\">
  230.                                     <div class=\"row mb-4 text-sm  highlight-block \">
  231.                                         <div class=\"flex items-center\">
  232.                                             <div class=\"relative col-8 flex\">
  233.                                                 <input required=\"\" type=\"text\" id=\"highlight1\" name=\"highlights[]\"
  234.                                                        class=\"form-control form-control-lg sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 ps-5\"
  235.                                                        placeholder=\"Points fort \">
  236.                                                 <div class=\"absolute\" style=\"top: 7px;left: 6px;color: #a1a1a1;\">
  237.                                                     <i class=\"bx bx-list-check\" style=\"font-size: 29px;\"></i>
  238.                                                 </div>
  239.                                                 <div class=\"h-6 rounded cursor-pointer ps-2 delete-icon\"><i class=\"bx bx-x-circle text-2xl\"></i></div>
  240.                                             </div>
  241.                                         </div>
  242.                                     </div>
  243.                                 </div>
  244.                                 <div id=\"add-faq\" class=\"mt-4  py-2 flex items-center justify-end gap-2  rounded cursor-pointer \">
  245.                                     <p class=\"text-base m-0 font-semibold\">Ajouter</p>
  246.                                     <i class=\"bx bx-plus-circle text-orange text-2xl\"></i>
  247.                                 </div>
  248.                             </div>
  249.                         </div>
  250.                         <!-- end card body -->
  251.                     </div>
  252.                     <!-- end card -->
  253.                 </div>
  254.                 <!-- end col -->
  255.                 <div class=\"row\">
  256.                     <div class=\"col-lg-12\">
  257.                         <div class=\"card\">
  258.                             <div class=\"card-body\">
  259.                                 <div class=\"flex mt-4 row\">
  260.                                     <div class=\"col-md-6\">
  261.                                         <p class=\"text-xs  text-gray-900 mb-2\">En cliquant sur le bouton d'enregistrement, vous mettez à jours les informations
  262.                                             enregistrer par ce formulaire </p>                                    </div>
  263.                                     <div class=\"col-md flex justify-end\">
  264.                                         <button type=\"reset\" style=\" color: #ffaa00; border: 1px solid;\" class=\"font-medium h-10  py-2.5 rounded-lg text-center text-sm  w-40 me-2\">
  265.                                             Annuler</button>
  266.                                         <button type=\"submit\" style=\" background: #ffaa00;\" class=\"font-medium hover:bg-primary-700 h-10  py-2.5 rounded-lg text-center text-sm text-white w-40\">Enregistrer</button>
  267.                                     </div>
  268.                                 </div>
  269.                             </div>
  270.                         </div>
  271.                     </div>
  272.                 </div>
  273.                 <!-- end col -->
  274.             </div>
  275.         </div> <!-- container-fluid -->
  276.     </form>
  277. ";
  278.         
  279.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  280.         
  281.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  282.         return; yield '';
  283.     }
  284.     // line 128
  285.     public function block_javascripts($context, array $blocks = [])
  286.     {
  287.         $macros $this->macros;
  288.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  289.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  290.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  291.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  292.         // line 129
  293.         yield "    <!-- apexcharts -->
  294.     <script src=\"";
  295.         // line 130
  296.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/parsleyjs/parsley.min.js"), "html"nulltrue);
  297.         yield "\"></script>
  298.     <script src=\"";
  299.         // line 131
  300.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/select2/js/select2.min.js"), "html"nulltrue);
  301.         yield "\"></script>
  302.     <script src=\"";
  303.         // line 132
  304.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/bootstrap-maxlength/bootstrap-maxlength.min.js"), "html"nulltrue);
  305.         yield "\"></script>
  306.     <script src=\"";
  307.         // line 134
  308.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/js/pages/form-validation.init.js"), "html"nulltrue);
  309.         yield "\"></script>
  310.     <script src=\"";
  311.         // line 136
  312.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/js/app.js"), "html"nulltrue);
  313.         yield "\"></script>
  314.     <script src=\"";
  315.         // line 137
  316.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/js/pages/Highlights.js"), "html"nulltrue);
  317.         yield "\"></script>
  318.     <script>
  319.         /*
  320.          Template Name: Skote - Admin & Dashboard Template
  321.          Author: Themesbrand
  322.          Website: https://themesbrand.com/
  323.          Contact: themesbrand@gmail.com
  324.          File: Form Advanced Js File
  325.          */
  326.         !function (\$) {
  327.             \"use strict\";
  328.             var AdvancedForm = function () { };
  329.             AdvancedForm.prototype.init = function () {
  330.                 // Select2
  331.                 if (\$('.select2').length > 0) {
  332.                     \$(\".select2\").select2();
  333.                 }
  334.                 if (\$('.select2-tags').length > 0) {
  335.                     \$(\".select2-tags\").select2({
  336.                         tags: true
  337.                     });
  338.                 }
  339.                 if (\$('.select2-limiting-3').length > 0) {
  340.                     \$(\".select2-limiting-3\").select2({
  341.                         maximumSelectionLength: 3
  342.                     });
  343.                 }
  344.                 //Bootstrap-MaxLength
  345.                 \$('input#defaultconfig').maxlength({
  346.                     warningClass: \"badge bg-info\",
  347.                     limitReachedClass: \"badge bg-warning\"
  348.                 });
  349.                 \$('input#thresholdconfig').maxlength({
  350.                     threshold: 20,
  351.                     warningClass: \"badge bg-info\",
  352.                     limitReachedClass: \"badge bg-warning\"
  353.                 });
  354.                 \$('input#moreoptions').maxlength({
  355.                     alwaysShow: true,
  356.                     warningClass: \"badge bg-success\",
  357.                     limitReachedClass: \"badge bg-danger\"
  358.                 });
  359.                 \$('input#alloptions').maxlength({
  360.                     alwaysShow: true,
  361.                     warningClass: \"badge bg-success\",
  362.                     limitReachedClass: \"badge bg-danger\",
  363.                     separator: ' out of ',
  364.                     preText: 'You typed ',
  365.                     postText: ' chars available.',
  366.                     validate: true
  367.                 });
  368.                 \$('textarea#textarea').maxlength({
  369.                     alwaysShow: true,
  370.                     warningClass: \"badge bg-info\",
  371.                     limitReachedClass: \"badge bg-warning\"
  372.                 });
  373.                 \$('input#placement').maxlength({
  374.                     alwaysShow: true,
  375.                     placement: 'top-left',
  376.                     warningClass: \"badge bg-info\",
  377.                     limitReachedClass: \"badge bg-warning\"
  378.                 });
  379.             },
  380.                     //init
  381.                     \$.AdvancedForm = new AdvancedForm, \$.AdvancedForm.Constructor = AdvancedForm
  382.         }(window.jQuery),
  383.                 //Datepicker
  384.                         function (\$) {
  385.                             \"use strict\";
  386.                             \$.AdvancedForm.init();
  387.                         }(window.jQuery);
  388.     </script>
  389. ";
  390.         
  391.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  392.         
  393.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  394.         return; yield '';
  395.     }
  396.     /**
  397.      * @codeCoverageIgnore
  398.      */
  399.     public function getTemplateName()
  400.     {
  401.         return "admin/experience/add/addHighlights.html.twig";
  402.     }
  403.     /**
  404.      * @codeCoverageIgnore
  405.      */
  406.     public function isTraitable()
  407.     {
  408.         return false;
  409.     }
  410.     /**
  411.      * @codeCoverageIgnore
  412.      */
  413.     public function getDebugInfo()
  414.     {
  415.         return array (  378 => 137,  374 => 136,  369 => 134,  364 => 132,  360 => 131,  356 => 130,  353 => 129,  343 => 128,  265 => 60,  254 => 58,  250 => 57,  241 => 50,  230 => 48,  226 => 47,  190 => 15,  180 => 14,  166 => 11,  162 => 10,  157 => 9,  147 => 8,  135 => 6,  125 => 5,  105 => 4,  85 => 3,  65 => 2,  42 => 1,);
  416.     }
  417.     public function getSourceContext()
  418.     {
  419.         return new Source("{% extends 'admin/baseAdmin.html.twig' %}
  420. {% block page_title %}Lister les ponits fort {% endblock %}
  421. {% block breadcump_main %}Experiences{% endblock %}
  422. {% block breadcump_subtitle %}Points fort{% endblock %}
  423. {% block menu_left_sidebar %}
  424.     {% include 'include/menu/menuAdmin.html.twig' with { menu_active_event : '2'} %}
  425. {% endblock %}
  426. {% block stylesheets %}
  427.     <link href=\"{{ asset('admin/libs/select2/css/select2.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  428.     <link href=\"{{ asset('admin/css/tailwind.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  429.     <link href=\"{{ asset('admin/css/tailwind2.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  430. {% endblock %}
  431. {% block content %}
  432.     <form id=\"form-general\" class=\"general-info custom-validation\" method=\"POST\" action=\"{{ path('add_highlights',{'id':experience.id}) }}\" enctype=\"multipart/form-data\"  >
  433.         <div class=\"container-fluid\">
  434.             <div class=\"row\">
  435.                 <div class=\"col-xl-12 px-0\">
  436.                     <div class=\"card\">
  437.                         <div class=\"card-body\">
  438.                             <div class=\"bar-top sm:flex block gap-2 bg-white p-2 pb-3 mb-8 text-uppercase rounded-2xl flex-wrap border-b border-gray-200\">
  439.                                 <h3 class=\"text-sm  cursor-pointer hover:text-orange pt-2 \" id=\"general-info\">General Info</h3>
  440.                                 <span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
  441.                                 <h3 class=\"text-sm  cursor-pointer hover:text-orange  pt-2 \" id=\"gallery\">Hébergement</h3>
  442.                                 <span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
  443.                                 <h3 class=\"text-sm  cursor-pointer hover:text-orange  pt-2 \" id=\"gallery\">Gallery</h3>
  444.                                 <span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
  445.                                 <h3 class=\"text-sm  cursor-pointer hover:text-orange pt-2 \" id=\"itineraire\">Programme</h3>
  446.                                 <span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
  447.                                 <h3 class=\"text-sm  cursor-pointer hover:text-orange pt-2 \" id=\"highlights\">Description</h3>
  448.                                 <span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
  449.                                 <h3 class=\"text-sm  cursor-pointer hover:text-orange pt-2 \" id=\"dispo\">Disponibilité</h3>
  450.                                 <span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
  451.                                 <h3 class=\"text-sm  cursor-pointer hover:text-orange pt-2 \" id=\"disponibilite\">Tarification</h3>
  452.                                 <span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
  453.                                 <h3 class=\"text-sm  cursor-pointer hover:text-orange pt-2 active-nav\" id=\"faq\">Points Forts</h3>
  454.                             </div> 
  455.                             <div class=\"sm:p-4 p-2 pb-0 pt-1\" id=\"myform2\">
  456.                                 <div class=\"row\">
  457.                                     <div class=\"col-md-6\">
  458.                                         <div class=\"form-floating mb-3\">
  459.                                             <label class=\"form-label\">Destination</label>
  460.                                             <select  required=\"\" name=\"destination\" class=\"form-select form-select6LG select2-tags\" id=\"floatingSelectGrid\" aria-label=\"Floating label select example\">
  461.                                                 {% for destination in country.destinations %}
  462.                                                     <option value=\"{{ destination.id }}\" >{{ destination.name }}</option>
  463.                                                 {% endfor %}
  464.                                             </select>
  465.                                         </div>
  466.                                     </div>
  467.                                     <div class=\"col-md-6\">
  468.                                         <div class=\"form-floating mb-3\">
  469.                                             <label class=\"form-label\">Sous catégorie</label>
  470.                                             <select  required=\"\" name=\"subcategory\" class=\"form-select form-select6LG select2\" id=\"floatingSelect\" aria-label=\"Floating label select example\">
  471.                                                 {% for subcategory in category.subcategories %}
  472.                                                     <option value=\"{{ subcategory.id }}\" >{{ subcategory.name }}</option>
  473.                                                 {% endfor %}
  474.                                             </select>
  475.                                         </div>
  476.                                     </div>
  477.                                 </div>
  478.                                 <h5 class=\"text-lg font-semibold mt-5 \">Points Forts</h5>
  479.                                 <p class=\"text-gray-700 text-sm\">Ajouter les points forts qui marque votre expérience. </p>
  480.                                 <div class=\"divider w-2/6 mt-1 mb-5\"></div>
  481.                                 <div id=\"faq-forms\">
  482.                                     <div class=\"row mb-4 text-sm  highlight-block \">
  483.                                         <div class=\"flex items-center\">
  484.                                             <div class=\"relative col-8 flex\">
  485.                                                 <input required=\"\" type=\"text\" id=\"highlight1\" name=\"highlights[]\"
  486.                                                        class=\"form-control form-control-lg sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 ps-5\"
  487.                                                        placeholder=\"Points fort \">
  488.                                                 <div class=\"absolute\" style=\"top: 7px;left: 6px;color: #a1a1a1;\">
  489.                                                     <i class=\"bx bx-list-check\" style=\"font-size: 29px;\"></i>
  490.                                                 </div>
  491.                                                 <div class=\"h-6 rounded cursor-pointer ps-2 delete-icon\"><i class=\"bx bx-x-circle text-2xl\"></i></div>
  492.                                             </div>
  493.                                         </div>
  494.                                     </div>
  495.                                 </div>
  496.                                 <div id=\"add-faq\" class=\"mt-4  py-2 flex items-center justify-end gap-2  rounded cursor-pointer \">
  497.                                     <p class=\"text-base m-0 font-semibold\">Ajouter</p>
  498.                                     <i class=\"bx bx-plus-circle text-orange text-2xl\"></i>
  499.                                 </div>
  500.                             </div>
  501.                         </div>
  502.                         <!-- end card body -->
  503.                     </div>
  504.                     <!-- end card -->
  505.                 </div>
  506.                 <!-- end col -->
  507.                 <div class=\"row\">
  508.                     <div class=\"col-lg-12\">
  509.                         <div class=\"card\">
  510.                             <div class=\"card-body\">
  511.                                 <div class=\"flex mt-4 row\">
  512.                                     <div class=\"col-md-6\">
  513.                                         <p class=\"text-xs  text-gray-900 mb-2\">En cliquant sur le bouton d'enregistrement, vous mettez à jours les informations
  514.                                             enregistrer par ce formulaire </p>                                    </div>
  515.                                     <div class=\"col-md flex justify-end\">
  516.                                         <button type=\"reset\" style=\" color: #ffaa00; border: 1px solid;\" class=\"font-medium h-10  py-2.5 rounded-lg text-center text-sm  w-40 me-2\">
  517.                                             Annuler</button>
  518.                                         <button type=\"submit\" style=\" background: #ffaa00;\" class=\"font-medium hover:bg-primary-700 h-10  py-2.5 rounded-lg text-center text-sm text-white w-40\">Enregistrer</button>
  519.                                     </div>
  520.                                 </div>
  521.                             </div>
  522.                         </div>
  523.                     </div>
  524.                 </div>
  525.                 <!-- end col -->
  526.             </div>
  527.         </div> <!-- container-fluid -->
  528.     </form>
  529. {% endblock %}
  530. {% block javascripts %}
  531.     <!-- apexcharts -->
  532.     <script src=\"{{ asset('admin/libs/parsleyjs/parsley.min.js')}}\"></script>
  533.     <script src=\"{{ asset('admin/libs/select2/js/select2.min.js')}}\"></script>
  534.     <script src=\"{{ asset('admin/libs/bootstrap-maxlength/bootstrap-maxlength.min.js')}}\"></script>
  535.     <script src=\"{{ asset('admin/js/pages/form-validation.init.js')}}\"></script>
  536.     <script src=\"{{ asset('admin/js/app.js')}}\"></script>
  537.     <script src=\"{{ asset('admin/js/pages/Highlights.js')}}\"></script>
  538.     <script>
  539.         /*
  540.          Template Name: Skote - Admin & Dashboard Template
  541.          Author: Themesbrand
  542.          Website: https://themesbrand.com/
  543.          Contact: themesbrand@gmail.com
  544.          File: Form Advanced Js File
  545.          */
  546.         !function (\$) {
  547.             \"use strict\";
  548.             var AdvancedForm = function () { };
  549.             AdvancedForm.prototype.init = function () {
  550.                 // Select2
  551.                 if (\$('.select2').length > 0) {
  552.                     \$(\".select2\").select2();
  553.                 }
  554.                 if (\$('.select2-tags').length > 0) {
  555.                     \$(\".select2-tags\").select2({
  556.                         tags: true
  557.                     });
  558.                 }
  559.                 if (\$('.select2-limiting-3').length > 0) {
  560.                     \$(\".select2-limiting-3\").select2({
  561.                         maximumSelectionLength: 3
  562.                     });
  563.                 }
  564.                 //Bootstrap-MaxLength
  565.                 \$('input#defaultconfig').maxlength({
  566.                     warningClass: \"badge bg-info\",
  567.                     limitReachedClass: \"badge bg-warning\"
  568.                 });
  569.                 \$('input#thresholdconfig').maxlength({
  570.                     threshold: 20,
  571.                     warningClass: \"badge bg-info\",
  572.                     limitReachedClass: \"badge bg-warning\"
  573.                 });
  574.                 \$('input#moreoptions').maxlength({
  575.                     alwaysShow: true,
  576.                     warningClass: \"badge bg-success\",
  577.                     limitReachedClass: \"badge bg-danger\"
  578.                 });
  579.                 \$('input#alloptions').maxlength({
  580.                     alwaysShow: true,
  581.                     warningClass: \"badge bg-success\",
  582.                     limitReachedClass: \"badge bg-danger\",
  583.                     separator: ' out of ',
  584.                     preText: 'You typed ',
  585.                     postText: ' chars available.',
  586.                     validate: true
  587.                 });
  588.                 \$('textarea#textarea').maxlength({
  589.                     alwaysShow: true,
  590.                     warningClass: \"badge bg-info\",
  591.                     limitReachedClass: \"badge bg-warning\"
  592.                 });
  593.                 \$('input#placement').maxlength({
  594.                     alwaysShow: true,
  595.                     placement: 'top-left',
  596.                     warningClass: \"badge bg-info\",
  597.                     limitReachedClass: \"badge bg-warning\"
  598.                 });
  599.             },
  600.                     //init
  601.                     \$.AdvancedForm = new AdvancedForm, \$.AdvancedForm.Constructor = AdvancedForm
  602.         }(window.jQuery),
  603.                 //Datepicker
  604.                         function (\$) {
  605.                             \"use strict\";
  606.                             \$.AdvancedForm.init();
  607.                         }(window.jQuery);
  608.     </script>
  609. {% endblock %}""admin/experience/add/addHighlights.html.twig""/home/bookoachroot/public_html/templates/admin/experience/add/addHighlights.html.twig");
  610.     }
  611. }