var/cache/dev/twig/0e/0e67dde23e1817796397e48fa5892f2c.php line 45

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/edit/editGeneralinfo.html.twig */
  15. class __TwigTemplate_9d328d2785fa3c81f7919914ba2f4f60 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/edit/editGeneralinfo.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/edit/editGeneralinfo.html.twig"));
  45.         $this->parent $this->loadTemplate("admin/baseAdmin.html.twig""admin/experience/edit/editGeneralinfo.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 "Modification d'informations Génerale ";
  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 "Nouvelle experience";
  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/edit/editGeneralinfo.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("edit_general_info", ["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=\"sm:p-4 p-2 pb-0 pt-1\" >
  159.                                 <h5 class=\"text-lg font-semibold mt-5 \">Information General de l’expérience</h5>
  160.                                 <p class=\"text-gray-700 text-sm\">Enregistrer les informations au dessous pour décrire : ";
  161.         // line 26
  162.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.'26$this->source); })()), "title", [], "any"falsefalsefalse26), "html"nulltrue);
  163.         yield " .</p>
  164.                                 <div class=\"divider w-2/6 mt-1 mb-5\"></div>
  165.                                 <div class=\"row mb-4 text-sm  \">
  166.                                     <div class=\"flex items-center\">
  167.                                         <p for=\"\" class=\"form-label font-semibold col-3\">Titre</p>
  168.                                         <div class=\"form-floating mb-3 col-9\">
  169.                                             <input value=\"";
  170.         // line 32
  171.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.'32$this->source); })()), "title", [], "any"falsefalsefalse32), "html"nulltrue);
  172.         yield "\" required=\"\" class=\"form-control\"  id=\"floatingnameInput\" required=\"\" type=\"text\" name=\"title\"  placeholder=\"Entrer le nom de l'expérience\">
  173.                                             <label for=\"floatingnameInput\">Entrer le nom de l'expérience</label>
  174.                                         </div>
  175.                                     </div>
  176.                                 </div>
  177.                                 <div class=\"row mb-4 text-sm\">
  178.                                     <div class=\" flex \">
  179.                                         <p for=\"\" class=\"form-label font-semibold col-3 \"> Résumé </p>
  180.                                         <div class=\"relative col-9\">
  181.                                             <textarea required=\"\" class=\"form-control text-sm px-5\" name=\"resume\" placeholder=\"Taper une petite description \"
  182.                                                       id=\"floatingTextarea2\" style=\"height: 100px\">";
  183.         // line 42
  184.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.'42$this->source); })()), "resume", [], "any"falsefalsefalse42), "html"nulltrue);
  185.         yield "</textarea>
  186.                                             <div class=\"absolute\" style=\"top: 8px;left: 11px;color: #a1a1a1;\">
  187.                                                 <i class=\"bx bx-notepad text-2xl\"></i>
  188.                                             </div>
  189.                                         </div>
  190.                                     </div>
  191.                                 </div>
  192.                                 <div class=\"mb-3 row flex items-start text-sm\">
  193.                                     <p for=\"formrow-inputState\" class=\"form-label font-semibold col-3\">Type de coaching</p>
  194.                                     <div class=\"col-9 px-0\">
  195.                                         <div class=\"flex gap-2 justify-between\">
  196.                                             <div class=\"flex items-center ps-4 w-1/3  rounded dark:border-gray-700\">
  197.                                                 <div class=\"form-check mb-3\">
  198.                                                     <input ";
  199.         // line 57
  200.         if ((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.'57$this->source); })()), "coachingtype", [], "any"falsefalsefalse57) == "private")) {
  201.             yield " checked";
  202.         }
  203.         yield " class=\"form-check-input\" type=\"radio\" value=\"private\" name=\"coachingtype\"
  204.                                                            id=\"formRadios1\" checked>
  205.                                                     <label class=\"form-check-label\" for=\"formRadios1\">
  206.                                                         Coaching Privé
  207.                                                     </label>
  208.                                                 </div>
  209.                                             </div>
  210.                                             <div class=\"flex items-center ps-4 w-1/3  rounded dark:border-gray-700\">
  211.                                                 <div class=\"form-check mb-3\">
  212.                                                     <input ";
  213.         // line 67
  214.         if ((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.'67$this->source); })()), "coachingtype", [], "any"falsefalsefalse67) == "groupe")) {
  215.             yield " checked";
  216.         }
  217.         yield "  class=\"form-check-input\" type=\"radio\" value=\"groupe\" name=\"coachingtype\"
  218.                                                            id=\"formRadios2\" >
  219.                                                     <label class=\"form-check-label\" for=\"formRadios2\">
  220.                                                         Coaching en groupe
  221.                                                     </label>
  222.                                                 </div>
  223.                                             </div>
  224.                                             <div class=\"flex items-center ps-4 w-1/3  rounded dark:border-gray-700\">
  225.                                                 <div class=\"form-check mb-3\">
  226.                                                     <input ";
  227.         // line 76
  228.         if ((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.'76$this->source); })()), "coachingtype", [], "any"falsefalsefalse76) == "visio")) {
  229.             yield " checked";
  230.         }
  231.         yield "  class=\"form-check-input\" type=\"radio\" value=\"visio\" name=\"coachingtype\"
  232.                                                            id=\"formRadios3\">
  233.                                                     <label class=\"form-check-label\" for=\"formRadios3\">
  234.                                                         Coaching par Visio
  235.                                                     </label>
  236.                                                 </div>
  237.                                             </div>
  238.                                         </div> 
  239.                                         <p class=\"text-[10px]  text-gray-600 my-2\">*Vous pouvez sélectionné un seul type de coaching.</p>
  240.                                     </div>
  241.                                 </div>
  242.                                 <div class=\"row\">
  243.                                     <div class=\"col-md-6\">
  244.                                         <div class=\"form-floating mb-3\">
  245.                                             <label class=\"form-label\">Destination</label>
  246.                                             <input hidden=\"\" type=\"text\" value=\"";
  247.         // line 91
  248.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["experience"]) || array_key_exists("experience"$context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.'91$this->source); })()), "destination", [], "any"falsefalsefalse91), "country", [], "any"falsefalsefalse91), "id", [], "any"falsefalsefalse91), "html"nulltrue);
  249.         yield "\" name=\"country\" >
  250.                                             <select required=\"\" name=\"destination\" class=\"form-select form-select6LG select2-tags\" id=\"floatingSelectGrid\" aria-label=\"Floating label select example\">
  251.                                                 ";
  252.         // line 93
  253.         $context['_parent'] = $context;
  254.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["experience"]) || array_key_exists("experience"$context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.'93$this->source); })()), "destination", [], "any"falsefalsefalse93), "country", [], "any"falsefalsefalse93), "destinations", [], "any"falsefalsefalse93));
  255.         foreach ($context['_seq'] as $context["_key"] => $context["destination"]) {
  256.             // line 94
  257.             yield "                                                    <option  ";
  258.             if ((CoreExtension::getAttribute($this->env$this->source$context["destination"], "id", [], "any"falsefalsefalse94) == CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["experience"]) || array_key_exists("experience"$context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.'94$this->source); })()), "destination", [], "any"falsefalsefalse94), "id", [], "any"falsefalsefalse94))) {
  259.                 yield "selected=\"\"";
  260.             }
  261.             yield " value=\"";
  262.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["destination"], "id", [], "any"falsefalsefalse94), "html"nulltrue);
  263.             yield "\" >";
  264.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["destination"], "name", [], "any"falsefalsefalse94), "html"nulltrue);
  265.             yield "</option>
  266.                                                 ";
  267.         }
  268.         $_parent $context['_parent'];
  269.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['destination'], $context['_parent'], $context['loop']);
  270.         $context array_intersect_key($context$_parent) + $_parent;
  271.         // line 96
  272.         yield "                                            </select>
  273.                                         </div>
  274.                                     </div>
  275.                                     <div class=\"col-md-6\">
  276.                                         <div class=\"form-floating mb-3\">
  277.                                             <label class=\"form-label\">Sous catégorie</label>
  278.                                             <select multiple=\"\" required=\"\" name=\"subcategories[]\" class=\"form-select form-select6LG select2\" id=\"floatingSelect\" aria-label=\"Floating label select example\">
  279.                                                 ";
  280.         // line 103
  281.         $context['_parent'] = $context;
  282.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["experience"]) || array_key_exists("experience"$context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.'103$this->source); })()), "subcategories", [], "any"falsefalsefalse103), 0, [], "array"falsefalsefalse103), "category", [], "any"falsefalsefalse103), "subcategories", [], "any"falsefalsefalse103));
  283.         foreach ($context['_seq'] as $context["_key"] => $context["subcategory"]) {
  284.             // line 104
  285.             yield "                                                    <option ";
  286.             if (CoreExtension::inFilter($context["subcategory"], 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.'104$this->source); })()), "subcategories", [], "any"falsefalsefalse104))) {
  287.                 yield "selected=\"\"";
  288.             }
  289.             yield " value=\"";
  290.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["subcategory"], "id", [], "any"falsefalsefalse104), "html"nulltrue);
  291.             yield "\" >";
  292.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["subcategory"], "name", [], "any"falsefalsefalse104), "html"nulltrue);
  293.             yield "</option>
  294.                                                 ";
  295.         }
  296.         $_parent $context['_parent'];
  297.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['subcategory'], $context['_parent'], $context['loop']);
  298.         $context array_intersect_key($context$_parent) + $_parent;
  299.         // line 106
  300.         yield "                                            </select>
  301.                                         </div>
  302.                                     </div>
  303.                                 </div>
  304.                                 <div class=\"divider mt-20 mb-3\"></div>
  305.                                 <div class=\"flex mt-4 row pt-3\">
  306.                                     <div class=\"col-md-6\">
  307.                                         <p class=\"text-xs  text-gray-900 mb-2\">En cliquant sur le bouton d'enregistrement, vous mettez à jours les informations
  308.                                             enregistrer par ce formulaire </p>
  309.                                     </div>
  310.                                     <div class=\"col-md flex justify-end\">
  311.                                         <button type=\"button\" style=\" color: #ffaa00; border: 1px solid;\"
  312.                                                 class=\"font-medium h-10 cursor-pointer   py-2.5 rounded-lg text-center text-sm  w-40 me-2\">
  313.                                             Annuler</button>
  314.                                         <button type=\"submit\" style=\" background: #ffaa00;\" 
  315.                                                 class=\"font-medium hover:bg-pri cursor-pointer mary-700 h-10  py-2.5 rounded-lg text-center text-sm text-white w-40\">
  316.                                             Enregistrer</button>
  317.                                     </div>
  318.                                 </div>
  319.                             </div>
  320.                         </div>
  321.                         <!-- end card body -->
  322.                     </div>
  323.                     <!-- end card -->
  324.                 </div>
  325.                 <!-- end col -->
  326.                 <!-- end col -->
  327.             </div>
  328.         </div> <!-- container-fluid -->
  329.     </form>
  330. ";
  331.         
  332.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  333.         
  334.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  335.         return; yield '';
  336.     }
  337.     // line 146
  338.     public function block_javascripts($context, array $blocks = [])
  339.     {
  340.         $macros $this->macros;
  341.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  342.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  343.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  344.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  345.         // line 147
  346.         yield "    <!-- apexcharts -->
  347.     <script src=\"";
  348.         // line 148
  349.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/parsleyjs/parsley.min.js"), "html"nulltrue);
  350.         yield "\"></script>
  351.     <script src=\"";
  352.         // line 149
  353.         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);
  354.         yield "\"></script>
  355.     <script src=\"";
  356.         // line 150
  357.         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);
  358.         yield "\"></script>
  359.     <script src=\"";
  360.         // line 152
  361.         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);
  362.         yield "\"></script>
  363.     <script src=\"";
  364.         // line 154
  365.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/js/app.js"), "html"nulltrue);
  366.         yield "\"></script>
  367.     <script>
  368.         /*
  369.          Template Name: Skote - Admin & Dashboard Template
  370.          Author: Themesbrand
  371.          Website: https://themesbrand.com/
  372.          Contact: themesbrand@gmail.com
  373.          File: Form Advanced Js File
  374.          */
  375.         !function (\$) {
  376.             \"use strict\";
  377.             var AdvancedForm = function () { };
  378.             AdvancedForm.prototype.init = function () {
  379.                 // Select2
  380.                 if (\$('.select2').length > 0) {
  381.                     \$(\".select2\").select2();
  382.                 }
  383.                 if (\$('.select2-tags').length > 0) {
  384.                     \$(\".select2-tags\").select2({
  385.                         tags: true
  386.                     });
  387.                 }
  388.                 if (\$('.select2-limiting-3').length > 0) {
  389.                     \$(\".select2-limiting-3\").select2({
  390.                         maximumSelectionLength: 3
  391.                     });
  392.                 }
  393.                 //Bootstrap-MaxLength
  394.                 \$('input#defaultconfig').maxlength({
  395.                     warningClass: \"badge bg-info\",
  396.                     limitReachedClass: \"badge bg-warning\"
  397.                 });
  398.                 \$('input#thresholdconfig').maxlength({
  399.                     threshold: 20,
  400.                     warningClass: \"badge bg-info\",
  401.                     limitReachedClass: \"badge bg-warning\"
  402.                 });
  403.                 \$('input#moreoptions').maxlength({
  404.                     alwaysShow: true,
  405.                     warningClass: \"badge bg-success\",
  406.                     limitReachedClass: \"badge bg-danger\"
  407.                 });
  408.                 \$('input#alloptions').maxlength({
  409.                     alwaysShow: true,
  410.                     warningClass: \"badge bg-success\",
  411.                     limitReachedClass: \"badge bg-danger\",
  412.                     separator: ' out of ',
  413.                     preText: 'You typed ',
  414.                     postText: ' chars available.',
  415.                     validate: true
  416.                 });
  417.                 \$('textarea#textarea').maxlength({
  418.                     alwaysShow: true,
  419.                     warningClass: \"badge bg-info\",
  420.                     limitReachedClass: \"badge bg-warning\"
  421.                 });
  422.                 \$('input#placement').maxlength({
  423.                     alwaysShow: true,
  424.                     placement: 'top-left',
  425.                     warningClass: \"badge bg-info\",
  426.                     limitReachedClass: \"badge bg-warning\"
  427.                 });
  428.             },
  429.                     //init
  430.                     \$.AdvancedForm = new AdvancedForm, \$.AdvancedForm.Constructor = AdvancedForm
  431.         }(window.jQuery),
  432.                 //Datepicker
  433.                         function (\$) {
  434.                             \"use strict\";
  435.                             \$.AdvancedForm.init();
  436.                         }(window.jQuery);
  437.     </script>
  438. ";
  439.         
  440.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  441.         
  442.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  443.         return; yield '';
  444.     }
  445.     /**
  446.      * @codeCoverageIgnore
  447.      */
  448.     public function getTemplateName()
  449.     {
  450.         return "admin/experience/edit/editGeneralinfo.html.twig";
  451.     }
  452.     /**
  453.      * @codeCoverageIgnore
  454.      */
  455.     public function isTraitable()
  456.     {
  457.         return false;
  458.     }
  459.     /**
  460.      * @codeCoverageIgnore
  461.      */
  462.     public function getDebugInfo()
  463.     {
  464.         return array (  427 => 154,  422 => 152,  417 => 150,  413 => 149,  409 => 148,  406 => 147,  396 => 146,  346 => 106,  331 => 104,  327 => 103,  318 => 96,  303 => 94,  299 => 93,  294 => 91,  274 => 76,  260 => 67,  245 => 57,  227 => 42,  214 => 32,  205 => 26,  190 => 15,  180 => 14,  166 => 11,  162 => 10,  157 => 9,  147 => 8,  135 => 6,  125 => 5,  105 => 4,  85 => 3,  65 => 2,  42 => 1,);
  465.     }
  466.     public function getSourceContext()
  467.     {
  468.         return new Source("{% extends 'admin/baseAdmin.html.twig' %}
  469. {% block page_title %}Modification d'informations Génerale {% endblock %}
  470. {% block breadcump_main %}Experiences{% endblock %}
  471. {% block breadcump_subtitle %}Nouvelle experience{% endblock %}
  472. {% block menu_left_sidebar %}
  473.     {% include 'include/menu/menuAdmin.html.twig' with { menu_active_event : '2'} %}
  474. {% endblock %}
  475. {% block stylesheets %}
  476.     <link href=\"{{ asset('admin/libs/select2/css/select2.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  477.     <link href=\"{{ asset('admin/css/tailwind.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  478.     <link href=\"{{ asset('admin/css/tailwind2.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  479. {% endblock %}
  480. {% block content %}
  481.     <form id=\"form-general\" class=\"general-info custom-validation\" method=\"POST\" action=\"{{ path('edit_general_info',{'id':experience.id}) }}\" enctype=\"multipart/form-data\"  >
  482.         <div class=\"container-fluid\">
  483.             <div class=\"row\">
  484.                 <div class=\"col-xl-12 px-0\">
  485.                     <div class=\"card\">
  486.                         <div class=\"card-body\">                                             
  487.                             <div class=\"sm:p-4 p-2 pb-0 pt-1\" >
  488.                                 <h5 class=\"text-lg font-semibold mt-5 \">Information General de l’expérience</h5>
  489.                                 <p class=\"text-gray-700 text-sm\">Enregistrer les informations au dessous pour décrire : {{ experience.title }} .</p>
  490.                                 <div class=\"divider w-2/6 mt-1 mb-5\"></div>
  491.                                 <div class=\"row mb-4 text-sm  \">
  492.                                     <div class=\"flex items-center\">
  493.                                         <p for=\"\" class=\"form-label font-semibold col-3\">Titre</p>
  494.                                         <div class=\"form-floating mb-3 col-9\">
  495.                                             <input value=\"{{ experience.title }}\" required=\"\" class=\"form-control\"  id=\"floatingnameInput\" required=\"\" type=\"text\" name=\"title\"  placeholder=\"Entrer le nom de l'expérience\">
  496.                                             <label for=\"floatingnameInput\">Entrer le nom de l'expérience</label>
  497.                                         </div>
  498.                                     </div>
  499.                                 </div>
  500.                                 <div class=\"row mb-4 text-sm\">
  501.                                     <div class=\" flex \">
  502.                                         <p for=\"\" class=\"form-label font-semibold col-3 \"> Résumé </p>
  503.                                         <div class=\"relative col-9\">
  504.                                             <textarea required=\"\" class=\"form-control text-sm px-5\" name=\"resume\" placeholder=\"Taper une petite description \"
  505.                                                       id=\"floatingTextarea2\" style=\"height: 100px\">{{ experience.resume }}</textarea>
  506.                                             <div class=\"absolute\" style=\"top: 8px;left: 11px;color: #a1a1a1;\">
  507.                                                 <i class=\"bx bx-notepad text-2xl\"></i>
  508.                                             </div>
  509.                                         </div>
  510.                                     </div>
  511.                                 </div>
  512.                                 <div class=\"mb-3 row flex items-start text-sm\">
  513.                                     <p for=\"formrow-inputState\" class=\"form-label font-semibold col-3\">Type de coaching</p>
  514.                                     <div class=\"col-9 px-0\">
  515.                                         <div class=\"flex gap-2 justify-between\">
  516.                                             <div class=\"flex items-center ps-4 w-1/3  rounded dark:border-gray-700\">
  517.                                                 <div class=\"form-check mb-3\">
  518.                                                     <input {% if experience.coachingtype == 'private' %} checked{% endif %} class=\"form-check-input\" type=\"radio\" value=\"private\" name=\"coachingtype\"
  519.                                                            id=\"formRadios1\" checked>
  520.                                                     <label class=\"form-check-label\" for=\"formRadios1\">
  521.                                                         Coaching Privé
  522.                                                     </label>
  523.                                                 </div>
  524.                                             </div>
  525.                                             <div class=\"flex items-center ps-4 w-1/3  rounded dark:border-gray-700\">
  526.                                                 <div class=\"form-check mb-3\">
  527.                                                     <input {% if experience.coachingtype == 'groupe' %} checked{% endif %}  class=\"form-check-input\" type=\"radio\" value=\"groupe\" name=\"coachingtype\"
  528.                                                            id=\"formRadios2\" >
  529.                                                     <label class=\"form-check-label\" for=\"formRadios2\">
  530.                                                         Coaching en groupe
  531.                                                     </label>
  532.                                                 </div>
  533.                                             </div>
  534.                                             <div class=\"flex items-center ps-4 w-1/3  rounded dark:border-gray-700\">
  535.                                                 <div class=\"form-check mb-3\">
  536.                                                     <input {% if experience.coachingtype == 'visio' %} checked{% endif %}  class=\"form-check-input\" type=\"radio\" value=\"visio\" name=\"coachingtype\"
  537.                                                            id=\"formRadios3\">
  538.                                                     <label class=\"form-check-label\" for=\"formRadios3\">
  539.                                                         Coaching par Visio
  540.                                                     </label>
  541.                                                 </div>
  542.                                             </div>
  543.                                         </div> 
  544.                                         <p class=\"text-[10px]  text-gray-600 my-2\">*Vous pouvez sélectionné un seul type de coaching.</p>
  545.                                     </div>
  546.                                 </div>
  547.                                 <div class=\"row\">
  548.                                     <div class=\"col-md-6\">
  549.                                         <div class=\"form-floating mb-3\">
  550.                                             <label class=\"form-label\">Destination</label>
  551.                                             <input hidden=\"\" type=\"text\" value=\"{{ experience.destination.country.id }}\" name=\"country\" >
  552.                                             <select required=\"\" name=\"destination\" class=\"form-select form-select6LG select2-tags\" id=\"floatingSelectGrid\" aria-label=\"Floating label select example\">
  553.                                                 {% for destination in experience.destination.country.destinations %}
  554.                                                     <option  {% if destination.id == experience.destination.id %}selected=\"\"{% endif %} value=\"{{ destination.id }}\" >{{ destination.name }}</option>
  555.                                                 {% endfor %}
  556.                                             </select>
  557.                                         </div>
  558.                                     </div>
  559.                                     <div class=\"col-md-6\">
  560.                                         <div class=\"form-floating mb-3\">
  561.                                             <label class=\"form-label\">Sous catégorie</label>
  562.                                             <select multiple=\"\" required=\"\" name=\"subcategories[]\" class=\"form-select form-select6LG select2\" id=\"floatingSelect\" aria-label=\"Floating label select example\">
  563.                                                 {% for subcategory in experience.subcategories[0].category.subcategories %}
  564.                                                     <option {% if subcategory in experience.subcategories %}selected=\"\"{% endif %} value=\"{{ subcategory.id }}\" >{{ subcategory.name }}</option>
  565.                                                 {% endfor %}
  566.                                             </select>
  567.                                         </div>
  568.                                     </div>
  569.                                 </div>
  570.                                 <div class=\"divider mt-20 mb-3\"></div>
  571.                                 <div class=\"flex mt-4 row pt-3\">
  572.                                     <div class=\"col-md-6\">
  573.                                         <p class=\"text-xs  text-gray-900 mb-2\">En cliquant sur le bouton d'enregistrement, vous mettez à jours les informations
  574.                                             enregistrer par ce formulaire </p>
  575.                                     </div>
  576.                                     <div class=\"col-md flex justify-end\">
  577.                                         <button type=\"button\" style=\" color: #ffaa00; border: 1px solid;\"
  578.                                                 class=\"font-medium h-10 cursor-pointer   py-2.5 rounded-lg text-center text-sm  w-40 me-2\">
  579.                                             Annuler</button>
  580.                                         <button type=\"submit\" style=\" background: #ffaa00;\" 
  581.                                                 class=\"font-medium hover:bg-pri cursor-pointer mary-700 h-10  py-2.5 rounded-lg text-center text-sm text-white w-40\">
  582.                                             Enregistrer</button>
  583.                                     </div>
  584.                                 </div>
  585.                             </div>
  586.                         </div>
  587.                         <!-- end card body -->
  588.                     </div>
  589.                     <!-- end card -->
  590.                 </div>
  591.                 <!-- end col -->
  592.                 <!-- end col -->
  593.             </div>
  594.         </div> <!-- container-fluid -->
  595.     </form>
  596. {% endblock %}
  597. {% block javascripts %}
  598.     <!-- apexcharts -->
  599.     <script src=\"{{ asset('admin/libs/parsleyjs/parsley.min.js')}}\"></script>
  600.     <script src=\"{{ asset('admin/libs/select2/js/select2.min.js')}}\"></script>
  601.     <script src=\"{{ asset('admin/libs/bootstrap-maxlength/bootstrap-maxlength.min.js')}}\"></script>
  602.     <script src=\"{{ asset('admin/js/pages/form-validation.init.js')}}\"></script>
  603.     <script src=\"{{ asset('admin/js/app.js')}}\"></script>
  604.     <script>
  605.         /*
  606.          Template Name: Skote - Admin & Dashboard Template
  607.          Author: Themesbrand
  608.          Website: https://themesbrand.com/
  609.          Contact: themesbrand@gmail.com
  610.          File: Form Advanced Js File
  611.          */
  612.         !function (\$) {
  613.             \"use strict\";
  614.             var AdvancedForm = function () { };
  615.             AdvancedForm.prototype.init = function () {
  616.                 // Select2
  617.                 if (\$('.select2').length > 0) {
  618.                     \$(\".select2\").select2();
  619.                 }
  620.                 if (\$('.select2-tags').length > 0) {
  621.                     \$(\".select2-tags\").select2({
  622.                         tags: true
  623.                     });
  624.                 }
  625.                 if (\$('.select2-limiting-3').length > 0) {
  626.                     \$(\".select2-limiting-3\").select2({
  627.                         maximumSelectionLength: 3
  628.                     });
  629.                 }
  630.                 //Bootstrap-MaxLength
  631.                 \$('input#defaultconfig').maxlength({
  632.                     warningClass: \"badge bg-info\",
  633.                     limitReachedClass: \"badge bg-warning\"
  634.                 });
  635.                 \$('input#thresholdconfig').maxlength({
  636.                     threshold: 20,
  637.                     warningClass: \"badge bg-info\",
  638.                     limitReachedClass: \"badge bg-warning\"
  639.                 });
  640.                 \$('input#moreoptions').maxlength({
  641.                     alwaysShow: true,
  642.                     warningClass: \"badge bg-success\",
  643.                     limitReachedClass: \"badge bg-danger\"
  644.                 });
  645.                 \$('input#alloptions').maxlength({
  646.                     alwaysShow: true,
  647.                     warningClass: \"badge bg-success\",
  648.                     limitReachedClass: \"badge bg-danger\",
  649.                     separator: ' out of ',
  650.                     preText: 'You typed ',
  651.                     postText: ' chars available.',
  652.                     validate: true
  653.                 });
  654.                 \$('textarea#textarea').maxlength({
  655.                     alwaysShow: true,
  656.                     warningClass: \"badge bg-info\",
  657.                     limitReachedClass: \"badge bg-warning\"
  658.                 });
  659.                 \$('input#placement').maxlength({
  660.                     alwaysShow: true,
  661.                     placement: 'top-left',
  662.                     warningClass: \"badge bg-info\",
  663.                     limitReachedClass: \"badge bg-warning\"
  664.                 });
  665.             },
  666.                     //init
  667.                     \$.AdvancedForm = new AdvancedForm, \$.AdvancedForm.Constructor = AdvancedForm
  668.         }(window.jQuery),
  669.                 //Datepicker
  670.                         function (\$) {
  671.                             \"use strict\";
  672.                             \$.AdvancedForm.init();
  673.                         }(window.jQuery);
  674.     </script>
  675. {% endblock %}""admin/experience/edit/editGeneralinfo.html.twig""/home/bookoachroot/public_html/templates/admin/experience/edit/editGeneralinfo.html.twig");
  676.     }
  677. }