var/cache/dev/twig/1a/1a152e3533a2ccd0eccf66582775371e.php line 46

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/coach/editCoach.html.twig */
  15. class __TwigTemplate_352e10d3ba763ab94764ade4b37ae5fc 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.             'title' => [$this'block_title'],
  30.             'content' => [$this'block_content'],
  31.             'javascripts' => [$this'block_javascripts'],
  32.         ];
  33.     }
  34.     protected function doGetParent(array $context)
  35.     {
  36.         // line 1
  37.         return "admin/baseAdmin.html.twig";
  38.     }
  39.     protected function doDisplay(array $context, array $blocks = [])
  40.     {
  41.         $macros $this->macros;
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""admin/coach/editCoach.html.twig"));
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""admin/coach/editCoach.html.twig"));
  46.         $this->parent $this->loadTemplate("admin/baseAdmin.html.twig""admin/coach/editCoach.html.twig"1);
  47.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  48.         
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  50.         
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  52.     }
  53.     // line 2
  54.     public function block_page_title($context, array $blocks = [])
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_title"));
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_title"));
  61.         yield "Modifier Coach";
  62.         
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  64.         
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  66.         return; yield '';
  67.     }
  68.     // line 3
  69.     public function block_breadcump_main($context, array $blocks = [])
  70.     {
  71.         $macros $this->macros;
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcump_main"));
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcump_main"));
  76.         yield "Coach";
  77.         
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  79.         
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  81.         return; yield '';
  82.     }
  83.     // line 4
  84.     public function block_breadcump_subtitle($context, array $blocks = [])
  85.     {
  86.         $macros $this->macros;
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  88.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcump_subtitle"));
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  90.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcump_subtitle"));
  91.         yield "Modification de compte";
  92.         
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  94.         
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  96.         return; yield '';
  97.     }
  98.     // line 5
  99.     public function block_menu_left_sidebar($context, array $blocks = [])
  100.     {
  101.         $macros $this->macros;
  102.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  103.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu_left_sidebar"));
  104.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  105.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu_left_sidebar"));
  106.         // line 6
  107.         yield "    ";
  108.         yield from         $this->loadTemplate("include/menu/menuAdmin.html.twig""admin/coach/editCoach.html.twig"6)->unwrap()->yield(CoreExtension::merge($context, ["menu_active_event" => "2"]));
  109.         
  110.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  111.         
  112.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  113.         return; yield '';
  114.     }
  115.     // line 8
  116.     public function block_stylesheets($context, array $blocks = [])
  117.     {
  118.         $macros $this->macros;
  119.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  120.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  121.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  122.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  123.         // line 9
  124.         yield "    <link href=\"";
  125.         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);
  126.         yield "\" rel=\"stylesheet\" type=\"text/css\">
  127.     <link href=\"";
  128.         // line 10
  129.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/css/tailwind.min.css"), "html"nulltrue);
  130.         yield "\" rel=\"stylesheet\" type=\"text/css\">
  131.     <link href=\"";
  132.         // line 11
  133.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/css/tailwind2.css"), "html"nulltrue);
  134.         yield "\" rel=\"stylesheet\" type=\"text/css\">
  135. ";
  136.         
  137.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  138.         
  139.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  140.         return; yield '';
  141.     }
  142.     // line 14
  143.     public function block_title($context, array $blocks = [])
  144.     {
  145.         $macros $this->macros;
  146.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  147.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  148.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  149.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  150.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Modifier le compte Coach"), "html"nulltrue);
  151.         
  152.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  153.         
  154.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  155.         return; yield '';
  156.     }
  157.     // line 15
  158.     public function block_content($context, array $blocks = [])
  159.     {
  160.         $macros $this->macros;
  161.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  162.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  163.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  164.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  165.         yield 
  166.             <div class=\"container-fluid\">
  167.                 <div class=\"row\">
  168.                     <div class=\"col-xl-12 px-0\">
  169.                         <div class=\"card\">
  170.                             <div class=\"card-body\">
  171.                                 <form class=\"p-1 \" method=\"post\" action=\"";
  172.         // line 22
  173.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("edit_coach", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["coach"]) || array_key_exists("coach"$context) ? $context["coach"] : (function () { throw new RuntimeError('Variable "coach" does not exist.'22$this->source); })()), "id", [], "any"falsefalsefalse22)]), "html"nulltrue);
  174.         yield "\" enctype=\"multipart/form-data\"  >
  175.                                     <div class=\"m-auto my-3 relative\">
  176.                                         <label for=\"avatar-upload\" class=\"relative flex justify-center\" style=\"cursor: pointer;\">
  177.                                             <img class=\"w-40 h-40 rounded-full ring-2 ring-gray-700 dark:ring-gray-500 m-auto\"   src=\"";
  178.         // line 25
  179.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("" CoreExtension::getAttribute($this->env$this->source, (isset($context["coach"]) || array_key_exists("coach"$context) ? $context["coach"] : (function () { throw new RuntimeError('Variable "coach" does not exist.'25$this->source); })()), "image", [], "any"falsefalsefalse25))), "html"nulltrue);
  180.         yield "\" alt=\"Bordered avatar\" id=\"avatar-img\">
  181.                                             <div class=\"h-10 w-10 bg-gray-300 rounded-full flex  items-center justify-center\" style=\"position: absolute;right: 48%;bottom: 4px;font-size: 35px;\">
  182.                                                 <i class=\"bx bxs-image-alt text-gray-600\"></i>
  183.                                             </div>
  184.                                             <input type=\"file\" id=\"avatar-upload\" style=\"display: none;\" name=\"image\" value=\"";
  185.         // line 29
  186.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["coach"]) || array_key_exists("coach"$context) ? $context["coach"] : (function () { throw new RuntimeError('Variable "coach" does not exist.'29$this->source); })()), "image", [], "any"falsefalsefalse29), "html"nulltrue);
  187.         yield "\" accept=\"image/*\" onchange=\"changeAvatar(event)\">
  188.                                         </label>
  189.                                         <p class=\"pb-4 text-gray-700 text-center text-sm\">Modifier photo de profile du coach </p>
  190.                                     </div>
  191.                                     <h5 class=\"text-lg font-semibold mt-5  \">Information personnel du coach </h5>
  192.                                     <p class=\"pb-4 text-gray-700 text-sm\">Ici, vous pouvez modifier et consulter les informations personnelles du coach. </p>
  193.                                     <div class=\"row mb-4\">
  194.                                         <div class=\"form-floating col-md-6 col-sm-12 \">
  195.                                             <input type=\"text\" name=\"firstname\" value=\"";
  196.         // line 39
  197.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["coach"]) || array_key_exists("coach"$context) ? $context["coach"] : (function () { throw new RuntimeError('Variable "coach" does not exist.'39$this->source); })()), "firstName", [], "any"falsefalsefalse39), "html"nulltrue);
  198.         yield "\"
  199.                                                    class=\"form-control sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 ps-5\"
  200.                                                    id=\"nom\" placeholder=\"John\">
  201.                                             <label class=\"mb-2 ms-2 ps-5 text-sm font-medium text-gray-900 \" for=\"nom\">Nom</label>
  202.                                             <div class=\"absolute\" style=\"top: 15px;left: 21px;color: #a1a1a1;\">
  203.                                                 <i class=\"bx bxs-user-circle text-2xl\"></i>
  204.                                             </div>
  205.                                         </div>
  206.                                         <div class=\"form-floating col-md-6 col-sm-12 mt-2.5 sm:mt-0\">
  207.                                             <input type=\"text\" name=\"lastname\" value=\"";
  208.         // line 48
  209.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["coach"]) || array_key_exists("coach"$context) ? $context["coach"] : (function () { throw new RuntimeError('Variable "coach" does not exist.'48$this->source); })()), "lastName", [], "any"falsefalsefalse48), "html"nulltrue);
  210.         yield "\"
  211.                                                    class=\"form-control sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 ps-5\"
  212.                                                    id=\"prenom\" placeholder=\"Doe\">
  213.                                             <label class=\"mb-2 ms-2 ps-5 text-sm font-medium text-gray-900 \" for=\"prenom\">Prénom</label>
  214.                                             <div class=\"absolute\" style=\"top: 15px;left: 21px;color: #a1a1a1;\">
  215.                                                 <i class=\"bx bxs-user-circle text-2xl\"></i>
  216.                                             </div>
  217.                                         </div>
  218.                                     </div>
  219.                                     <div class=\"row mb-4\">
  220.                                         <div class=\"form-floating mb-3 col-md-6 col-sm-12\">
  221.                                             <input type=\"email\" name=\"email\" value=\"";
  222.         // line 60
  223.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["coach"]) || array_key_exists("coach"$context) ? $context["coach"] : (function () { throw new RuntimeError('Variable "coach" does not exist.'60$this->source); })()), "lastName", [], "any"falsefalsefalse60), "html"nulltrue);
  224.         yield "\"
  225.                                                    class=\"block font-medium form-control  p-2.5 rounded-lg sm:text-sm text-gray-900 w-full ps-5\" id=\"email\"
  226.                                                    placeholder=\"name@example.com\">
  227.                                             <label class=\"mb-2 ms-2 ps-5 text-sm font-medium text-gray-900 dark:text-white\" for=\"email\">Email address</label>
  228.                                             <div class=\"absolute\" style=\"top: 15px;left: 21px;color: #a1a1a1;\">
  229.                                                 <i class=\"bx bx-envelope text-2xl\"></i>
  230.                                             </div>
  231.                                         </div>
  232.                                         <div class=\"form-floating col-md-6 mb-3 col-md-6\">
  233.                                             <input type=\"tel\"  class=\"block sm:text-sm form-control p-2.5 rounded-lg w-full input-tel py-3\" name=\"phone\" id=\"phone\" placeholder=\"1234567\">
  234.                                         </div>
  235.                                     </div>
  236.                                     <div class=\"row mb-4\">
  237.                                         <div class=\" rounded p-1\">
  238.                                             <label for=\"inline-radio\" class=\"ms-2 text-sm font-medium text-gray-500 dark:text-gray-300\">Genre:</label>
  239.                                             <div class=\"flex justify-between w-50  ms-2 pt-1\">
  240.                                                 <label class=\"container_check mb-0\">
  241.                                                     <div class=\"d-flex justify-content-between\"><span>Homme</span></div>
  242.                                                     <input type=\"radio\" value=\"1\" name=\"gender\" ";
  243.         // line 81
  244.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["coach"]) || array_key_exists("coach"$context) ? $context["coach"] : (function () { throw new RuntimeError('Variable "coach" does not exist.'81$this->source); })()), "gender", [], "any"falsefalsefalse81) == "1")) {
  245.             yield "checked";
  246.         }
  247.         yield ">
  248.                                                     <span class=\"custom-radio\"></span>
  249.                                                 </label>
  250.                                                 <label class=\"container_check\">
  251.                                                     <div class=\"d-flex justify-content-between\"><span>Femme</span></div>
  252.                                                     <input type=\"radio\"  value=\"0\" name=\"gender\" ";
  253.         // line 87
  254.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["coach"]) || array_key_exists("coach"$context) ? $context["coach"] : (function () { throw new RuntimeError('Variable "coach" does not exist.'87$this->source); })()), "gender", [], "any"falsefalsefalse87) == "0")) {
  255.             yield "checked";
  256.         }
  257.         yield ">
  258.                                                     <span class=\"custom-radio\"></span>
  259.                                                 </label>
  260.                                             </div>
  261.                                         </div>
  262.                                     </div>
  263.                                     <div class=\"row pb-9 text-sm\">
  264.                                         <div class=\"  \">
  265.                                             <p for=\"\" class=\"form-label font-semibold col-2  \">Biographie</p>
  266.                                             <div class=\"relative w-full\">
  267.                                                 <textarea class=\"form-control text-sm px-5 pe-4\" name=\"description\" placeholder=\"Qui suis-je ?\" id=\"description_programe\" style=\"height: 100px\">";
  268.         // line 99
  269.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["coach"]) || array_key_exists("coach"$context) ? $context["coach"] : (function () { throw new RuntimeError('Variable "coach" does not exist.'99$this->source); })()), "bio", [], "any"falsefalsefalse99), "html"nulltrue);
  270.         yield "</textarea>
  271.                                                 <div class=\"absolute\" style=\"top: 8px;left: 11px;color: #a1a1a1;\">
  272.                                                     <i class=\"bx bx-notepad text-2xl\" style=\"\"></i>
  273.                                                 </div>
  274.                                             </div>
  275.                                         </div>
  276.                                     </div>
  277.                                     <h5 class=\"text-lg font-semibold mt-5 \">Détails de Résidence </h5>
  278.                                     <p class=\"pb-4 text-gray-700 text-sm\">Ici, vous pouvez modifier et consulter l'adresse du coach. </p>
  279.                                     <div class=\"row mb-4\">
  280.                                         <div class=\"mb-3 col-md-6\">
  281.                                             <select id=\"countries\" name=\"country\" class=\"select border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-3.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500 py-3\">
  282.                                                 <option value=\"BE\" data-capital=\"Brussels\" ";
  283.         // line 114
  284.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["coach"]) || array_key_exists("coach"$context) ? $context["coach"] : (function () { throw new RuntimeError('Variable "coach" does not exist.'114$this->source); })()), "country", [], "any"falsefalsefalse114) == "BE")) {
  285.             yield "selected";
  286.         }
  287.         yield ">Belgium</option>
  288.                                                 <option value=\"CA\" data-capital=\"Ottawa\" ";
  289.         // line 115
  290.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["coach"]) || array_key_exists("coach"$context) ? $context["coach"] : (function () { throw new RuntimeError('Variable "coach" does not exist.'115$this->source); })()), "country", [], "any"falsefalsefalse115) == "CA")) {
  291.             yield "selected";
  292.         }
  293.         yield ">Canada</option>
  294.                                                 <option value=\"FR\" data-capital=\"Paris\" ";
  295.         // line 116
  296.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["coach"]) || array_key_exists("coach"$context) ? $context["coach"] : (function () { throw new RuntimeError('Variable "coach" does not exist.'116$this->source); })()), "country", [], "any"falsefalsefalse116) == "FR")) {
  297.             yield "selected";
  298.         }
  299.         yield ">France</option>
  300.                                                 <option value=\"PF\" data-capital=\"Papeete\" ";
  301.         // line 117
  302.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["coach"]) || array_key_exists("coach"$context) ? $context["coach"] : (function () { throw new RuntimeError('Variable "coach" does not exist.'117$this->source); })()), "country", [], "any"falsefalsefalse117) == "PF")) {
  303.             yield "selected";
  304.         }
  305.         yield ">French Polynesia</option>
  306.                                                 <option value=\"LU\" data-capital=\"Luxembourg City\" ";
  307.         // line 118
  308.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["coach"]) || array_key_exists("coach"$context) ? $context["coach"] : (function () { throw new RuntimeError('Variable "coach" does not exist.'118$this->source); })()), "country", [], "any"falsefalsefalse118) == "LU")) {
  309.             yield "selected";
  310.         }
  311.         yield ">Luxembourg</option>
  312.                                                 <option value=\"MA\" data-capital=\"Rabat\" ";
  313.         // line 119
  314.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["coach"]) || array_key_exists("coach"$context) ? $context["coach"] : (function () { throw new RuntimeError('Variable "coach" does not exist.'119$this->source); })()), "country", [], "any"falsefalsefalse119) == "MA")) {
  315.             yield "selected";
  316.         }
  317.         yield ">Morocco</option>
  318.                                                 <option value=\"NL\" data-capital=\"Amsterdam\" ";
  319.         // line 120
  320.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["coach"]) || array_key_exists("coach"$context) ? $context["coach"] : (function () { throw new RuntimeError('Variable "coach" does not exist.'120$this->source); })()), "country", [], "any"falsefalsefalse120) == "NL")) {
  321.             yield "selected";
  322.         }
  323.         yield ">Netherlands</option>
  324.                                                 <option value=\"NZ\" data-capital=\"Wellington\" ";
  325.         // line 121
  326.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["coach"]) || array_key_exists("coach"$context) ? $context["coach"] : (function () { throw new RuntimeError('Variable "coach" does not exist.'121$this->source); })()), "country", [], "any"falsefalsefalse121) == "NZ")) {
  327.             yield "selected";
  328.         }
  329.         yield ">New Zealand</option>
  330.                                             </select>
  331.                                         </div>
  332.                                         <div class=\"form-floating mb-3 col-md-6\" id=\"city\">
  333.                                             <input type=\"text\" name=\"adresse\" value=\"";
  334.         // line 126
  335.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["coach"]) || array_key_exists("coach"$context) ? $context["coach"] : (function () { throw new RuntimeError('Variable "coach" does not exist.'126$this->source); })()), "address", [], "any"falsefalsefalse126), "html"nulltrue);
  336.         yield "\" class=\"block sm:text-sm form-control p-2.5 rounded-lg w-full mt-0\" id=\"floatingInput\" placeholder=\"Adresse\">
  337.                                             <label class=\"mb-2 ps-4 text-sm font-medium text-gray-900 dark:text-white\" for=\"floatingInput\">Adresse
  338.                                             </label>
  339.                                         </div>
  340.                                     </div>
  341.                                     <div class=\"divider mt-16\"></div>
  342.                                     <div class=\"flex mt-4 row\">
  343.                                         <div class=\"col-md-6\">
  344.                                             <p class=\"text-xs  text-gray-900 mb-2\">En cliquant sur le bouton de Enregistrer, vous mettez à jours les informations envoyé dans ce formulaire </p>
  345.                                         </div>
  346.                                         <div class=\"col-md flex justify-end\">
  347.                                             <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\">
  348.                                                 Annuler</button>
  349.                                             <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>
  350.                                         </div>
  351.                                     </div>
  352.                                 </form>
  353.                             </div>
  354.                             <!-- end card body -->
  355.                         </div>
  356.                         <!-- end card -->
  357.                     </div>
  358.                     <!-- end col -->
  359.                     <!-- end col -->
  360.                 </div>
  361.             </div> <!-- container-fluid -->
  362. <!-- End main -->
  363. ";
  364.         
  365.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  366.         
  367.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  368.         return; yield '';
  369.     }
  370.     // line 163
  371.     public function block_javascripts($context, array $blocks = [])
  372.     {
  373.         $macros $this->macros;
  374.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  375.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  376.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  377.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  378.         // line 164
  379.         yield "    <!-- apexcharts -->
  380.     <script src=\"";
  381.         // line 165
  382.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/parsleyjs/parsley.min.js"), "html"nulltrue);
  383.         yield "\"></script>
  384.     <script src=\"";
  385.         // line 166
  386.         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);
  387.         yield "\"></script>
  388.     <script src=\"";
  389.         // line 167
  390.         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);
  391.         yield "\"></script>
  392.     <script src=\"";
  393.         // line 169
  394.         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);
  395.         yield "\"></script>
  396.     <script src=\"";
  397.         // line 171
  398.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/js/app.js"), "html"nulltrue);
  399.         yield "\"></script>
  400.     <script>
  401.                                         /*
  402.                                          Template Name: Skote - Admin & Dashboard Template
  403.                                          Author: Themesbrand
  404.                                          Website: https://themesbrand.com/
  405.                                          Contact: themesbrand@gmail.com
  406.                                          File: Form Advanced Js File
  407.                                          */
  408.                                         !function (\$) {
  409.                                             \"use strict\";
  410.                                             var AdvancedForm = function () { };
  411.                                             AdvancedForm.prototype.init = function () {
  412.                                                 // Select2
  413.                                                 if (\$('.select2').length > 0) {
  414.                                                     \$(\".select2\").select2();
  415.                                                 }
  416.                                                 if (\$('.select2-tags').length > 0) {
  417.                                                     \$(\".select2-tags\").select2({
  418.                                                         tags: true
  419.                                                     });
  420.                                                 }
  421.                                                 if (\$('.select2-limiting-3').length > 0) {
  422.                                                     \$(\".select2-limiting-3\").select2({
  423.                                                         maximumSelectionLength: 3
  424.                                                     });
  425.                                                 }
  426.                                                 //Bootstrap-MaxLength
  427.                                                 \$('input#defaultconfig').maxlength({
  428.                                                     warningClass: \"badge bg-info\",
  429.                                                     limitReachedClass: \"badge bg-warning\"
  430.                                                 });
  431.                                                 \$('input#thresholdconfig').maxlength({
  432.                                                     threshold: 20,
  433.                                                     warningClass: \"badge bg-info\",
  434.                                                     limitReachedClass: \"badge bg-warning\"
  435.                                                 });
  436.                                                 \$('input#moreoptions').maxlength({
  437.                                                     alwaysShow: true,
  438.                                                     warningClass: \"badge bg-success\",
  439.                                                     limitReachedClass: \"badge bg-danger\"
  440.                                                 });
  441.                                                 \$('input#alloptions').maxlength({
  442.                                                     alwaysShow: true,
  443.                                                     warningClass: \"badge bg-success\",
  444.                                                     limitReachedClass: \"badge bg-danger\",
  445.                                                     separator: ' out of ',
  446.                                                     preText: 'You typed ',
  447.                                                     postText: ' chars available.',
  448.                                                     validate: true
  449.                                                 });
  450.                                                 \$('textarea#textarea').maxlength({
  451.                                                     alwaysShow: true,
  452.                                                     warningClass: \"badge bg-info\",
  453.                                                     limitReachedClass: \"badge bg-warning\"
  454.                                                 });
  455.                                                 \$('input#placement').maxlength({
  456.                                                     alwaysShow: true,
  457.                                                     placement: 'top-left',
  458.                                                     warningClass: \"badge bg-info\",
  459.                                                     limitReachedClass: \"badge bg-warning\"
  460.                                                 });
  461.                                             },
  462.                                                     //init
  463.                                                     \$.AdvancedForm = new AdvancedForm, \$.AdvancedForm.Constructor = AdvancedForm
  464.                                         }(window.jQuery),
  465.                                                 //Datepicker
  466.                                                         function (\$) {
  467.                                                             \"use strict\";
  468.                                                             \$.AdvancedForm.init();
  469.                                                         }(window.jQuery);
  470.     </script>
  471. ";
  472.         
  473.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  474.         
  475.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  476.         return; yield '';
  477.     }
  478.     /**
  479.      * @codeCoverageIgnore
  480.      */
  481.     public function getTemplateName()
  482.     {
  483.         return "admin/coach/editCoach.html.twig";
  484.     }
  485.     /**
  486.      * @codeCoverageIgnore
  487.      */
  488.     public function isTraitable()
  489.     {
  490.         return false;
  491.     }
  492.     /**
  493.      * @codeCoverageIgnore
  494.      */
  495.     public function getDebugInfo()
  496.     {
  497.         return array (  473 => 171,  468 => 169,  463 => 167,  459 => 166,  455 => 165,  452 => 164,  442 => 163,  394 => 126,  384 => 121,  378 => 120,  372 => 119,  366 => 118,  360 => 117,  354 => 116,  348 => 115,  342 => 114,  324 => 99,  307 => 87,  296 => 81,  272 => 60,  257 => 48,  245 => 39,  232 => 29,  225 => 25,  219 => 22,  201 => 15,  181 => 14,  167 => 11,  163 => 10,  158 => 9,  148 => 8,  136 => 6,  126 => 5,  106 => 4,  86 => 3,  66 => 2,  43 => 1,);
  498.     }
  499.     public function getSourceContext()
  500.     {
  501.         return new Source("{% extends 'admin/baseAdmin.html.twig' %}
  502. {% block page_title %}Modifier Coach{% endblock %}
  503. {% block breadcump_main %}Coach{% endblock %}
  504. {% block breadcump_subtitle %}Modification de compte{% endblock %}
  505. {% block menu_left_sidebar %}
  506.     {% include 'include/menu/menuAdmin.html.twig' with { menu_active_event : '2'} %}
  507. {% endblock %}
  508. {% block stylesheets %}
  509.     <link href=\"{{ asset('admin/libs/select2/css/select2.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  510.     <link href=\"{{ asset('admin/css/tailwind.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  511.     <link href=\"{{ asset('admin/css/tailwind2.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  512. {% endblock %}
  513. {% block title %}{{\"Modifier le compte Coach\"|trans }}{% endblock %} 
  514. {% block content %} 
  515.             <div class=\"container-fluid\">
  516.                 <div class=\"row\">
  517.                     <div class=\"col-xl-12 px-0\">
  518.                         <div class=\"card\">
  519.                             <div class=\"card-body\">
  520.                                 <form class=\"p-1 \" method=\"post\" action=\"{{ path('edit_coach',{'id':coach.id})}}\" enctype=\"multipart/form-data\"  >
  521.                                     <div class=\"m-auto my-3 relative\">
  522.                                         <label for=\"avatar-upload\" class=\"relative flex justify-center\" style=\"cursor: pointer;\">
  523.                                             <img class=\"w-40 h-40 rounded-full ring-2 ring-gray-700 dark:ring-gray-500 m-auto\"   src=\"{{asset(''~coach.image) }}\" alt=\"Bordered avatar\" id=\"avatar-img\">
  524.                                             <div class=\"h-10 w-10 bg-gray-300 rounded-full flex  items-center justify-center\" style=\"position: absolute;right: 48%;bottom: 4px;font-size: 35px;\">
  525.                                                 <i class=\"bx bxs-image-alt text-gray-600\"></i>
  526.                                             </div>
  527.                                             <input type=\"file\" id=\"avatar-upload\" style=\"display: none;\" name=\"image\" value=\"{{coach.image}}\" accept=\"image/*\" onchange=\"changeAvatar(event)\">
  528.                                         </label>
  529.                                         <p class=\"pb-4 text-gray-700 text-center text-sm\">Modifier photo de profile du coach </p>
  530.                                     </div>
  531.                                     <h5 class=\"text-lg font-semibold mt-5  \">Information personnel du coach </h5>
  532.                                     <p class=\"pb-4 text-gray-700 text-sm\">Ici, vous pouvez modifier et consulter les informations personnelles du coach. </p>
  533.                                     <div class=\"row mb-4\">
  534.                                         <div class=\"form-floating col-md-6 col-sm-12 \">
  535.                                             <input type=\"text\" name=\"firstname\" value=\"{{coach.firstName}}\"
  536.                                                    class=\"form-control sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 ps-5\"
  537.                                                    id=\"nom\" placeholder=\"John\">
  538.                                             <label class=\"mb-2 ms-2 ps-5 text-sm font-medium text-gray-900 \" for=\"nom\">Nom</label>
  539.                                             <div class=\"absolute\" style=\"top: 15px;left: 21px;color: #a1a1a1;\">
  540.                                                 <i class=\"bx bxs-user-circle text-2xl\"></i>
  541.                                             </div>
  542.                                         </div>
  543.                                         <div class=\"form-floating col-md-6 col-sm-12 mt-2.5 sm:mt-0\">
  544.                                             <input type=\"text\" name=\"lastname\" value=\"{{coach.lastName}}\"
  545.                                                    class=\"form-control sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 ps-5\"
  546.                                                    id=\"prenom\" placeholder=\"Doe\">
  547.                                             <label class=\"mb-2 ms-2 ps-5 text-sm font-medium text-gray-900 \" for=\"prenom\">Prénom</label>
  548.                                             <div class=\"absolute\" style=\"top: 15px;left: 21px;color: #a1a1a1;\">
  549.                                                 <i class=\"bx bxs-user-circle text-2xl\"></i>
  550.                                             </div>
  551.                                         </div>
  552.                                     </div>
  553.                                     <div class=\"row mb-4\">
  554.                                         <div class=\"form-floating mb-3 col-md-6 col-sm-12\">
  555.                                             <input type=\"email\" name=\"email\" value=\"{{coach.lastName}}\"
  556.                                                    class=\"block font-medium form-control  p-2.5 rounded-lg sm:text-sm text-gray-900 w-full ps-5\" id=\"email\"
  557.                                                    placeholder=\"name@example.com\">
  558.                                             <label class=\"mb-2 ms-2 ps-5 text-sm font-medium text-gray-900 dark:text-white\" for=\"email\">Email address</label>
  559.                                             <div class=\"absolute\" style=\"top: 15px;left: 21px;color: #a1a1a1;\">
  560.                                                 <i class=\"bx bx-envelope text-2xl\"></i>
  561.                                             </div>
  562.                                         </div>
  563.                                         <div class=\"form-floating col-md-6 mb-3 col-md-6\">
  564.                                             <input type=\"tel\"  class=\"block sm:text-sm form-control p-2.5 rounded-lg w-full input-tel py-3\" name=\"phone\" id=\"phone\" placeholder=\"1234567\">
  565.                                         </div>
  566.                                     </div>
  567.                                     <div class=\"row mb-4\">
  568.                                         <div class=\" rounded p-1\">
  569.                                             <label for=\"inline-radio\" class=\"ms-2 text-sm font-medium text-gray-500 dark:text-gray-300\">Genre:</label>
  570.                                             <div class=\"flex justify-between w-50  ms-2 pt-1\">
  571.                                                 <label class=\"container_check mb-0\">
  572.                                                     <div class=\"d-flex justify-content-between\"><span>Homme</span></div>
  573.                                                     <input type=\"radio\" value=\"1\" name=\"gender\" {% if coach.gender == '1' %}checked{% endif %}>
  574.                                                     <span class=\"custom-radio\"></span>
  575.                                                 </label>
  576.                                                 <label class=\"container_check\">
  577.                                                     <div class=\"d-flex justify-content-between\"><span>Femme</span></div>
  578.                                                     <input type=\"radio\"  value=\"0\" name=\"gender\" {% if coach.gender == '0' %}checked{% endif %}>
  579.                                                     <span class=\"custom-radio\"></span>
  580.                                                 </label>
  581.                                             </div>
  582.                                         </div>
  583.                                     </div>
  584.                                     <div class=\"row pb-9 text-sm\">
  585.                                         <div class=\"  \">
  586.                                             <p for=\"\" class=\"form-label font-semibold col-2  \">Biographie</p>
  587.                                             <div class=\"relative w-full\">
  588.                                                 <textarea class=\"form-control text-sm px-5 pe-4\" name=\"description\" placeholder=\"Qui suis-je ?\" id=\"description_programe\" style=\"height: 100px\">{{ coach.bio }}</textarea>
  589.                                                 <div class=\"absolute\" style=\"top: 8px;left: 11px;color: #a1a1a1;\">
  590.                                                     <i class=\"bx bx-notepad text-2xl\" style=\"\"></i>
  591.                                                 </div>
  592.                                             </div>
  593.                                         </div>
  594.                                     </div>
  595.                                     <h5 class=\"text-lg font-semibold mt-5 \">Détails de Résidence </h5>
  596.                                     <p class=\"pb-4 text-gray-700 text-sm\">Ici, vous pouvez modifier et consulter l'adresse du coach. </p>
  597.                                     <div class=\"row mb-4\">
  598.                                         <div class=\"mb-3 col-md-6\">
  599.                                             <select id=\"countries\" name=\"country\" class=\"select border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-3.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500 py-3\">
  600.                                                 <option value=\"BE\" data-capital=\"Brussels\" {% if coach.country == 'BE' %}selected{% endif %}>Belgium</option>
  601.                                                 <option value=\"CA\" data-capital=\"Ottawa\" {% if coach.country == 'CA' %}selected{% endif %}>Canada</option>
  602.                                                 <option value=\"FR\" data-capital=\"Paris\" {% if coach.country == 'FR' %}selected{% endif %}>France</option>
  603.                                                 <option value=\"PF\" data-capital=\"Papeete\" {% if coach.country == 'PF' %}selected{% endif %}>French Polynesia</option>
  604.                                                 <option value=\"LU\" data-capital=\"Luxembourg City\" {% if coach.country == 'LU' %}selected{% endif %}>Luxembourg</option>
  605.                                                 <option value=\"MA\" data-capital=\"Rabat\" {% if coach.country == 'MA' %}selected{% endif %}>Morocco</option>
  606.                                                 <option value=\"NL\" data-capital=\"Amsterdam\" {% if coach.country == 'NL' %}selected{% endif %}>Netherlands</option>
  607.                                                 <option value=\"NZ\" data-capital=\"Wellington\" {% if coach.country == 'NZ' %}selected{% endif %}>New Zealand</option>
  608.                                             </select>
  609.                                         </div>
  610.                                         <div class=\"form-floating mb-3 col-md-6\" id=\"city\">
  611.                                             <input type=\"text\" name=\"adresse\" value=\"{{coach.address}}\" class=\"block sm:text-sm form-control p-2.5 rounded-lg w-full mt-0\" id=\"floatingInput\" placeholder=\"Adresse\">
  612.                                             <label class=\"mb-2 ps-4 text-sm font-medium text-gray-900 dark:text-white\" for=\"floatingInput\">Adresse
  613.                                             </label>
  614.                                         </div>
  615.                                     </div>
  616.                                     <div class=\"divider mt-16\"></div>
  617.                                     <div class=\"flex mt-4 row\">
  618.                                         <div class=\"col-md-6\">
  619.                                             <p class=\"text-xs  text-gray-900 mb-2\">En cliquant sur le bouton de Enregistrer, vous mettez à jours les informations envoyé dans ce formulaire </p>
  620.                                         </div>
  621.                                         <div class=\"col-md flex justify-end\">
  622.                                             <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\">
  623.                                                 Annuler</button>
  624.                                             <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>
  625.                                         </div>
  626.                                     </div>
  627.                                 </form>
  628.                             </div>
  629.                             <!-- end card body -->
  630.                         </div>
  631.                         <!-- end card -->
  632.                     </div>
  633.                     <!-- end col -->
  634.                     <!-- end col -->
  635.                 </div>
  636.             </div> <!-- container-fluid -->
  637. <!-- End main -->
  638. {% endblock %}
  639. {% block javascripts %}
  640.     <!-- apexcharts -->
  641.     <script src=\"{{ asset('admin/libs/parsleyjs/parsley.min.js')}}\"></script>
  642.     <script src=\"{{ asset('admin/libs/select2/js/select2.min.js')}}\"></script>
  643.     <script src=\"{{ asset('admin/libs/bootstrap-maxlength/bootstrap-maxlength.min.js')}}\"></script>
  644.     <script src=\"{{ asset('admin/js/pages/form-validation.init.js')}}\"></script>
  645.     <script src=\"{{ asset('admin/js/app.js')}}\"></script>
  646.     <script>
  647.                                         /*
  648.                                          Template Name: Skote - Admin & Dashboard Template
  649.                                          Author: Themesbrand
  650.                                          Website: https://themesbrand.com/
  651.                                          Contact: themesbrand@gmail.com
  652.                                          File: Form Advanced Js File
  653.                                          */
  654.                                         !function (\$) {
  655.                                             \"use strict\";
  656.                                             var AdvancedForm = function () { };
  657.                                             AdvancedForm.prototype.init = function () {
  658.                                                 // Select2
  659.                                                 if (\$('.select2').length > 0) {
  660.                                                     \$(\".select2\").select2();
  661.                                                 }
  662.                                                 if (\$('.select2-tags').length > 0) {
  663.                                                     \$(\".select2-tags\").select2({
  664.                                                         tags: true
  665.                                                     });
  666.                                                 }
  667.                                                 if (\$('.select2-limiting-3').length > 0) {
  668.                                                     \$(\".select2-limiting-3\").select2({
  669.                                                         maximumSelectionLength: 3
  670.                                                     });
  671.                                                 }
  672.                                                 //Bootstrap-MaxLength
  673.                                                 \$('input#defaultconfig').maxlength({
  674.                                                     warningClass: \"badge bg-info\",
  675.                                                     limitReachedClass: \"badge bg-warning\"
  676.                                                 });
  677.                                                 \$('input#thresholdconfig').maxlength({
  678.                                                     threshold: 20,
  679.                                                     warningClass: \"badge bg-info\",
  680.                                                     limitReachedClass: \"badge bg-warning\"
  681.                                                 });
  682.                                                 \$('input#moreoptions').maxlength({
  683.                                                     alwaysShow: true,
  684.                                                     warningClass: \"badge bg-success\",
  685.                                                     limitReachedClass: \"badge bg-danger\"
  686.                                                 });
  687.                                                 \$('input#alloptions').maxlength({
  688.                                                     alwaysShow: true,
  689.                                                     warningClass: \"badge bg-success\",
  690.                                                     limitReachedClass: \"badge bg-danger\",
  691.                                                     separator: ' out of ',
  692.                                                     preText: 'You typed ',
  693.                                                     postText: ' chars available.',
  694.                                                     validate: true
  695.                                                 });
  696.                                                 \$('textarea#textarea').maxlength({
  697.                                                     alwaysShow: true,
  698.                                                     warningClass: \"badge bg-info\",
  699.                                                     limitReachedClass: \"badge bg-warning\"
  700.                                                 });
  701.                                                 \$('input#placement').maxlength({
  702.                                                     alwaysShow: true,
  703.                                                     placement: 'top-left',
  704.                                                     warningClass: \"badge bg-info\",
  705.                                                     limitReachedClass: \"badge bg-warning\"
  706.                                                 });
  707.                                             },
  708.                                                     //init
  709.                                                     \$.AdvancedForm = new AdvancedForm, \$.AdvancedForm.Constructor = AdvancedForm
  710.                                         }(window.jQuery),
  711.                                                 //Datepicker
  712.                                                         function (\$) {
  713.                                                             \"use strict\";
  714.                                                             \$.AdvancedForm.init();
  715.                                                         }(window.jQuery);
  716.     </script>
  717. {% endblock %}""admin/coach/editCoach.html.twig""/home/bookoachroot/public_html/templates/admin/coach/editCoach.html.twig");
  718.     }
  719. }