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

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/menuCoach.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-12 col-lg-3\">
  169.                         <div class=\"email-leftbar card mb-4 mb-lg-0\">
  170.                             <div class=\"mail-list mt-4\">
  171.                                 <a href=\"";
  172.         // line 22
  173.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("coach_profile");
  174.         yield "\"><i class=\"bx bx-user\"></i> General</a>
  175.                                 <a href=\"";
  176.         // line 23
  177.         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.'23$this->source); })()), "id", [], "any"falsefalsefalse23)]), "html"nulltrue);
  178.         yield "\" class=\"active\"><i class=\"bx bx-slider\"></i> Paramètre</a>
  179.                                 <a href=\"#\"><i class=\"bx bx-money\"></i> Facturation</a>
  180.                                 <a href=\"#\"><i class=\"bx bx-notification\"></i> Notification</a>
  181.                                 <a href=\"";
  182.         // line 26
  183.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("coach_securite");
  184.         yield "\"><i class=\"bx bx-lock\"></i> Sécurité</a>
  185.                                 <a href=\"";
  186.         // line 27
  187.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("coach_faq");
  188.         yield "\"><i class=\"bx bx-question-mark\"></i> FAQ</a>
  189.                                 <a href=\"#\"><i class=\"bx bx-log-out\"></i> Logout</a>
  190.                             </div>
  191.                         </div>
  192.                     </div>
  193.                     <div class=\"col-12 col-lg-9 px-0\">
  194.                         <div class=\"card\">
  195.                             <div class=\"card-body\">
  196.                                 <form class=\"p-1 \" method=\"post\" action=\"";
  197.         // line 35
  198.         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.'35$this->source); })()), "id", [], "any"falsefalsefalse35)]), "html"nulltrue);
  199.         yield "\" enctype=\"multipart/form-data\"  >
  200.                                     <div class=\"m-auto my-3 relative\">
  201.                                         <label for=\"avatar-upload\" class=\"relative flex justify-center\" style=\"cursor: pointer;\">
  202.                                             <img class=\"w-40 h-40 rounded-full ring-2 ring-gray-700 dark:ring-gray-500 m-auto\"   src=\"";
  203.         // line 38
  204.         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.'38$this->source); })()), "image", [], "any"falsefalsefalse38))), "html"nulltrue);
  205.         yield "\" alt=\"Bordered avatar\" id=\"avatar-img\">
  206.                                             <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;\">
  207.                                                 <i class=\"bx bxs-image-alt text-gray-600\"></i>
  208.                                             </div>
  209.                                             <input type=\"file\" id=\"avatar-upload\" style=\"display: none;\" name=\"image\" value=\"";
  210.         // line 42
  211.         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.'42$this->source); })()), "image", [], "any"falsefalsefalse42), "html"nulltrue);
  212.         yield "\" accept=\"image/*\" onchange=\"changeAvatar(event)\">
  213.                                         </label>
  214.                                         <p class=\"pb-4 text-gray-700 text-center text-sm\">Modifier photo de profile du coach </p>
  215.                                     </div>
  216.                                     <h5 class=\"text-lg font-semibold mt-5  \">Information personnel du coach </h5>
  217.                                     <p class=\"pb-4 text-gray-700 text-sm\">Ici, vous pouvez modifier et consulter les informations personnelles du coach. </p>
  218.                                     <div class=\"row mb-4\">
  219.                                         <div class=\"form-floating col-md-6 col-sm-12 \">
  220.                                             <input type=\"text\" name=\"firstname\" value=\"";
  221.         // line 52
  222.         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.'52$this->source); })()), "firstName", [], "any"falsefalsefalse52), "html"nulltrue);
  223.         yield "\"
  224.                                                    class=\"form-control sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 ps-5\"
  225.                                                    id=\"nom\" placeholder=\"John\">
  226.                                             <label class=\"mb-2 ms-2 ps-5 text-sm font-medium text-gray-900 \" for=\"nom\">Nom</label>
  227.                                             <div class=\"absolute\" style=\"top: 15px;left: 21px;color: #a1a1a1;\">
  228.                                                 <i class=\"bx bxs-user-circle text-2xl\"></i>
  229.                                             </div>
  230.                                         </div>
  231.                                         <div class=\"form-floating col-md-6 col-sm-12 mt-2.5 sm:mt-0\">
  232.                                             <input type=\"text\" name=\"lastname\" value=\"";
  233.         // line 61
  234.         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.'61$this->source); })()), "lastName", [], "any"falsefalsefalse61), "html"nulltrue);
  235.         yield "\"
  236.                                                    class=\"form-control sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 ps-5\"
  237.                                                    id=\"prenom\" placeholder=\"Doe\">
  238.                                             <label class=\"mb-2 ms-2 ps-5 text-sm font-medium text-gray-900 \" for=\"prenom\">Prénom</label>
  239.                                             <div class=\"absolute\" style=\"top: 15px;left: 21px;color: #a1a1a1;\">
  240.                                                 <i class=\"bx bxs-user-circle text-2xl\"></i>
  241.                                             </div>
  242.                                         </div>
  243.                                     </div>
  244.                                     <div class=\"row mb-4\">
  245.                                         <div class=\"form-floating mb-3 col-md-6 col-sm-12\">
  246.                                             <input type=\"email\" name=\"email\" value=\"";
  247.         // line 73
  248.         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.'73$this->source); })()), "lastName", [], "any"falsefalsefalse73), "html"nulltrue);
  249.         yield "\"
  250.                                                    class=\"block font-medium form-control  p-2.5 rounded-lg sm:text-sm text-gray-900 w-full ps-5\" id=\"email\"
  251.                                                    placeholder=\"name@example.com\">
  252.                                             <label class=\"mb-2 ms-2 ps-5 text-sm font-medium text-gray-900 dark:text-white\" for=\"email\">Email address</label>
  253.                                             <div class=\"absolute\" style=\"top: 15px;left: 21px;color: #a1a1a1;\">
  254.                                                 <i class=\"bx bx-envelope text-2xl\"></i>
  255.                                             </div>
  256.                                         </div>
  257.                                         <div class=\"form-floating col-md-6 mb-3 col-md-6\">
  258.                                             <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\">
  259.                                         </div>
  260.                                     </div>
  261.                                     <div class=\"mb-4 row\">
  262.                                         <label for=\"example-search-input\" class=\"col-md-2 col-form-label\">Genre</label>
  263.                                         <div class=\"col-xl-2 col-sm-4\">
  264.                                             <label class=\"card-radio-label mb-3\">
  265.                                                 <input type=\"radio\" value=\"1\" name=\"gender\" ";
  266.         // line 91
  267.         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.'91$this->source); })()), "gender", [], "any"falsefalsefalse91) == "1")) {
  268.             yield "checked";
  269.         }
  270.         yield " class=\"card-radio-input\">
  271.                                                 <div class=\"card-radio\">
  272.                                                     <i class=\"bx bx-user-circle font-size-24 text-primary align-middle me-2\"></i>
  273.                                                     <span>Homme</span>
  274.                                                 </div>
  275.                                             </label>
  276.                                         </div>
  277.                                         <div class=\"col-xl-2 col-sm-4\">
  278.                                             <label class=\"card-radio-label mb-3\">
  279.                                                 <input type=\"radio\" value=\"0\" name=\"gender\" ";
  280.         // line 104
  281.         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.'104$this->source); })()), "gender", [], "any"falsefalsefalse104) == "0")) {
  282.             yield "checked";
  283.         }
  284.         yield " class=\"card-radio-input\">
  285.                                                 <div class=\"card-radio\">
  286.                                                     <i class=\"bx bx-user-circle font-size-24 text-primary align-middle me-2\"></i>
  287.                                                     <span>Femme</span>
  288.                                                 </div>
  289.                                             </label>
  290.                                         </div>
  291.                                     </div>
  292.                                     <div class=\"row pb-9 text-sm\">
  293.                                         <div class=\"  \">
  294.                                             <p for=\"\" class=\"form-label font-semibold col-2  \">Biographie</p>
  295.                                             <div class=\"relative w-full\">
  296.                                                 <textarea class=\"form-control text-sm px-5 pe-4\" name=\"description\" placeholder=\"Qui suis-je ?\" id=\"description_programe\" style=\"height: 100px\">";
  297.         // line 119
  298.         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.'119$this->source); })()), "bio", [], "any"falsefalsefalse119), "html"nulltrue);
  299.         yield "</textarea>
  300.                                                 <div class=\"absolute\" style=\"top: 8px;left: 11px;color: #a1a1a1;\">
  301.                                                     <i class=\"bx bx-notepad text-2xl\" style=\"\"></i>
  302.                                                 </div>
  303.                                             </div>
  304.                                         </div>
  305.                                     </div>
  306.                                     <h5 class=\"text-lg font-semibold mt-5 \">Détails de Résidence </h5>
  307.                                     <p class=\"pb-4 text-gray-700 text-sm\">Ici, vous pouvez modifier et consulter l'adresse du coach. </p>
  308.                                     <div class=\"row mb-4\">
  309.                                         <div class=\"mb-3 col-md-6\">
  310.                                             <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\">
  311.                                                 <option value=\"BE\" data-capital=\"Brussels\" ";
  312.         // line 134
  313.         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.'134$this->source); })()), "country", [], "any"falsefalsefalse134) == "BE")) {
  314.             yield "selected";
  315.         }
  316.         yield ">Belgium</option>
  317.                                                 <option value=\"CA\" data-capital=\"Ottawa\" ";
  318.         // line 135
  319.         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.'135$this->source); })()), "country", [], "any"falsefalsefalse135) == "CA")) {
  320.             yield "selected";
  321.         }
  322.         yield ">Canada</option>
  323.                                                 <option value=\"FR\" data-capital=\"Paris\" ";
  324.         // line 136
  325.         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.'136$this->source); })()), "country", [], "any"falsefalsefalse136) == "FR")) {
  326.             yield "selected";
  327.         }
  328.         yield ">France</option>
  329.                                                 <option value=\"PF\" data-capital=\"Papeete\" ";
  330.         // line 137
  331.         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.'137$this->source); })()), "country", [], "any"falsefalsefalse137) == "PF")) {
  332.             yield "selected";
  333.         }
  334.         yield ">French Polynesia</option>
  335.                                                 <option value=\"LU\" data-capital=\"Luxembourg City\" ";
  336.         // line 138
  337.         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.'138$this->source); })()), "country", [], "any"falsefalsefalse138) == "LU")) {
  338.             yield "selected";
  339.         }
  340.         yield ">Luxembourg</option>
  341.                                                 <option value=\"MA\" data-capital=\"Rabat\" ";
  342.         // line 139
  343.         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.'139$this->source); })()), "country", [], "any"falsefalsefalse139) == "MA")) {
  344.             yield "selected";
  345.         }
  346.         yield ">Morocco</option>
  347.                                                 <option value=\"NL\" data-capital=\"Amsterdam\" ";
  348.         // line 140
  349.         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.'140$this->source); })()), "country", [], "any"falsefalsefalse140) == "NL")) {
  350.             yield "selected";
  351.         }
  352.         yield ">Netherlands</option>
  353.                                                 <option value=\"NZ\" data-capital=\"Wellington\" ";
  354.         // line 141
  355.         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.'141$this->source); })()), "country", [], "any"falsefalsefalse141) == "NZ")) {
  356.             yield "selected";
  357.         }
  358.         yield ">New Zealand</option>
  359.                                             </select>
  360.                                         </div>
  361.                                         <div class=\"form-floating mb-3 col-md-6\" id=\"city\">
  362.                                             <input type=\"text\" name=\"adresse\" value=\"";
  363.         // line 146
  364.         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.'146$this->source); })()), "address", [], "any"falsefalsefalse146), "html"nulltrue);
  365.         yield "\" class=\"block sm:text-sm form-control p-2.5 rounded-lg w-full mt-0\" id=\"floatingInput\" placeholder=\"Adresse\">
  366.                                             <label class=\"mb-2 ps-4 text-sm font-medium text-gray-900 dark:text-white\" for=\"floatingInput\">Adresse
  367.                                             </label>
  368.                                         </div>
  369.                                     </div>
  370.                                     <div class=\"divider mt-16\"></div>
  371.                                     <div class=\"flex mt-4 row\">
  372.                                         <div class=\"col-md-6\">
  373.                                             <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>
  374.                                         </div>
  375.                                         <div class=\"col-md flex justify-end\">
  376.                                             <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\">
  377.                                                 Annuler</button>
  378.                                             <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>
  379.                                         </div>
  380.                                     </div>
  381.                                 </form>
  382.                             </div>
  383.                             <!-- end card body -->
  384.                         </div>
  385.                         <!-- end card -->
  386.                     </div>
  387.                     <!-- end col -->
  388.                     <!-- end col -->
  389.                 </div>
  390.             </div> <!-- container-fluid -->
  391. <!-- End main -->
  392. ";
  393.         
  394.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  395.         
  396.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  397.         return; yield '';
  398.     }
  399.     // line 183
  400.     public function block_javascripts($context, array $blocks = [])
  401.     {
  402.         $macros $this->macros;
  403.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  404.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  405.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  406.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  407.         // line 184
  408.         yield "    <!-- apexcharts -->
  409.     <script src=\"";
  410.         // line 185
  411.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/parsleyjs/parsley.min.js"), "html"nulltrue);
  412.         yield "\"></script>
  413.     <script src=\"";
  414.         // line 186
  415.         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);
  416.         yield "\"></script>
  417.     <script src=\"";
  418.         // line 187
  419.         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);
  420.         yield "\"></script>
  421.     <script src=\"";
  422.         // line 189
  423.         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);
  424.         yield "\"></script>
  425.     <script src=\"";
  426.         // line 191
  427.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/js/app.js"), "html"nulltrue);
  428.         yield "\"></script>
  429.     <script>
  430.                                         /*
  431.                                          Template Name: Skote - Admin & Dashboard Template
  432.                                          Author: Themesbrand
  433.                                          Website: https://themesbrand.com/
  434.                                          Contact: themesbrand@gmail.com
  435.                                          File: Form Advanced Js File
  436.                                          */
  437.                                         !function (\$) {
  438.                                             \"use strict\";
  439.                                             var AdvancedForm = function () { };
  440.                                             AdvancedForm.prototype.init = function () {
  441.                                                 // Select2
  442.                                                 if (\$('.select2').length > 0) {
  443.                                                     \$(\".select2\").select2();
  444.                                                 }
  445.                                                 if (\$('.select2-tags').length > 0) {
  446.                                                     \$(\".select2-tags\").select2({
  447.                                                         tags: true
  448.                                                     });
  449.                                                 }
  450.                                                 if (\$('.select2-limiting-3').length > 0) {
  451.                                                     \$(\".select2-limiting-3\").select2({
  452.                                                         maximumSelectionLength: 3
  453.                                                     });
  454.                                                 }
  455.                                                 //Bootstrap-MaxLength
  456.                                                 \$('input#defaultconfig').maxlength({
  457.                                                     warningClass: \"badge bg-info\",
  458.                                                     limitReachedClass: \"badge bg-warning\"
  459.                                                 });
  460.                                                 \$('input#thresholdconfig').maxlength({
  461.                                                     threshold: 20,
  462.                                                     warningClass: \"badge bg-info\",
  463.                                                     limitReachedClass: \"badge bg-warning\"
  464.                                                 });
  465.                                                 \$('input#moreoptions').maxlength({
  466.                                                     alwaysShow: true,
  467.                                                     warningClass: \"badge bg-success\",
  468.                                                     limitReachedClass: \"badge bg-danger\"
  469.                                                 });
  470.                                                 \$('input#alloptions').maxlength({
  471.                                                     alwaysShow: true,
  472.                                                     warningClass: \"badge bg-success\",
  473.                                                     limitReachedClass: \"badge bg-danger\",
  474.                                                     separator: ' out of ',
  475.                                                     preText: 'You typed ',
  476.                                                     postText: ' chars available.',
  477.                                                     validate: true
  478.                                                 });
  479.                                                 \$('textarea#textarea').maxlength({
  480.                                                     alwaysShow: true,
  481.                                                     warningClass: \"badge bg-info\",
  482.                                                     limitReachedClass: \"badge bg-warning\"
  483.                                                 });
  484.                                                 \$('input#placement').maxlength({
  485.                                                     alwaysShow: true,
  486.                                                     placement: 'top-left',
  487.                                                     warningClass: \"badge bg-info\",
  488.                                                     limitReachedClass: \"badge bg-warning\"
  489.                                                 });
  490.                                             },
  491.                                                     //init
  492.                                                     \$.AdvancedForm = new AdvancedForm, \$.AdvancedForm.Constructor = AdvancedForm
  493.                                         }(window.jQuery),
  494.                                                 //Datepicker
  495.                                                         function (\$) {
  496.                                                             \"use strict\";
  497.                                                             \$.AdvancedForm.init();
  498.                                                         }(window.jQuery);
  499.     </script>
  500. ";
  501.         
  502.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  503.         
  504.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  505.         return; yield '';
  506.     }
  507.     /**
  508.      * @codeCoverageIgnore
  509.      */
  510.     public function getTemplateName()
  511.     {
  512.         return "admin/coach/editCoach.html.twig";
  513.     }
  514.     /**
  515.      * @codeCoverageIgnore
  516.      */
  517.     public function isTraitable()
  518.     {
  519.         return false;
  520.     }
  521.     /**
  522.      * @codeCoverageIgnore
  523.      */
  524.     public function getDebugInfo()
  525.     {
  526.         return array (  505 => 191,  500 => 189,  495 => 187,  491 => 186,  487 => 185,  484 => 184,  474 => 183,  426 => 146,  416 => 141,  410 => 140,  404 => 139,  398 => 138,  392 => 137,  386 => 136,  380 => 135,  374 => 134,  356 => 119,  336 => 104,  318 => 91,  297 => 73,  282 => 61,  270 => 52,  257 => 42,  250 => 38,  244 => 35,  233 => 27,  229 => 26,  223 => 23,  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,);
  527.     }
  528.     public function getSourceContext()
  529.     {
  530.         return new Source("{% extends 'admin/baseAdmin.html.twig' %}
  531. {% block page_title %}Modifier Coach{% endblock %}
  532. {% block breadcump_main %}Coach{% endblock %}
  533. {% block breadcump_subtitle %}Modification de compte{% endblock %}
  534. {% block menu_left_sidebar %}
  535.     {% include 'include/menu/menuCoach.html.twig' with { menu_active_event : '2'} %}
  536. {% endblock %}
  537. {% block stylesheets %}
  538.     <link href=\"{{ asset('admin/libs/select2/css/select2.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  539.     <link href=\"{{ asset('admin/css/tailwind.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  540.     <link href=\"{{ asset('admin/css/tailwind2.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  541. {% endblock %}
  542. {% block title %}{{\"Modifier le compte Coach\"|trans }}{% endblock %} 
  543. {% block content %} 
  544.             <div class=\"container-fluid\">
  545.                 <div class=\"row\">
  546.                     <div class=\"col-12 col-lg-3\">
  547.                         <div class=\"email-leftbar card mb-4 mb-lg-0\">
  548.                             <div class=\"mail-list mt-4\">
  549.                                 <a href=\"{{ path('coach_profile') }}\"><i class=\"bx bx-user\"></i> General</a>
  550.                                 <a href=\"{{ path('edit_coach', { 'id': coach.id }) }}\" class=\"active\"><i class=\"bx bx-slider\"></i> Paramètre</a>
  551.                                 <a href=\"#\"><i class=\"bx bx-money\"></i> Facturation</a>
  552.                                 <a href=\"#\"><i class=\"bx bx-notification\"></i> Notification</a>
  553.                                 <a href=\"{{ path('coach_securite') }}\"><i class=\"bx bx-lock\"></i> Sécurité</a>
  554.                                 <a href=\"{{ path('coach_faq') }}\"><i class=\"bx bx-question-mark\"></i> FAQ</a>
  555.                                 <a href=\"#\"><i class=\"bx bx-log-out\"></i> Logout</a>
  556.                             </div>
  557.                         </div>
  558.                     </div>
  559.                     <div class=\"col-12 col-lg-9 px-0\">
  560.                         <div class=\"card\">
  561.                             <div class=\"card-body\">
  562.                                 <form class=\"p-1 \" method=\"post\" action=\"{{ path('edit_coach',{'id':coach.id})}}\" enctype=\"multipart/form-data\"  >
  563.                                     <div class=\"m-auto my-3 relative\">
  564.                                         <label for=\"avatar-upload\" class=\"relative flex justify-center\" style=\"cursor: pointer;\">
  565.                                             <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\">
  566.                                             <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;\">
  567.                                                 <i class=\"bx bxs-image-alt text-gray-600\"></i>
  568.                                             </div>
  569.                                             <input type=\"file\" id=\"avatar-upload\" style=\"display: none;\" name=\"image\" value=\"{{coach.image}}\" accept=\"image/*\" onchange=\"changeAvatar(event)\">
  570.                                         </label>
  571.                                         <p class=\"pb-4 text-gray-700 text-center text-sm\">Modifier photo de profile du coach </p>
  572.                                     </div>
  573.                                     <h5 class=\"text-lg font-semibold mt-5  \">Information personnel du coach </h5>
  574.                                     <p class=\"pb-4 text-gray-700 text-sm\">Ici, vous pouvez modifier et consulter les informations personnelles du coach. </p>
  575.                                     <div class=\"row mb-4\">
  576.                                         <div class=\"form-floating col-md-6 col-sm-12 \">
  577.                                             <input type=\"text\" name=\"firstname\" value=\"{{coach.firstName}}\"
  578.                                                    class=\"form-control sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 ps-5\"
  579.                                                    id=\"nom\" placeholder=\"John\">
  580.                                             <label class=\"mb-2 ms-2 ps-5 text-sm font-medium text-gray-900 \" for=\"nom\">Nom</label>
  581.                                             <div class=\"absolute\" style=\"top: 15px;left: 21px;color: #a1a1a1;\">
  582.                                                 <i class=\"bx bxs-user-circle text-2xl\"></i>
  583.                                             </div>
  584.                                         </div>
  585.                                         <div class=\"form-floating col-md-6 col-sm-12 mt-2.5 sm:mt-0\">
  586.                                             <input type=\"text\" name=\"lastname\" value=\"{{coach.lastName}}\"
  587.                                                    class=\"form-control sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 ps-5\"
  588.                                                    id=\"prenom\" placeholder=\"Doe\">
  589.                                             <label class=\"mb-2 ms-2 ps-5 text-sm font-medium text-gray-900 \" for=\"prenom\">Prénom</label>
  590.                                             <div class=\"absolute\" style=\"top: 15px;left: 21px;color: #a1a1a1;\">
  591.                                                 <i class=\"bx bxs-user-circle text-2xl\"></i>
  592.                                             </div>
  593.                                         </div>
  594.                                     </div>
  595.                                     <div class=\"row mb-4\">
  596.                                         <div class=\"form-floating mb-3 col-md-6 col-sm-12\">
  597.                                             <input type=\"email\" name=\"email\" value=\"{{coach.lastName}}\"
  598.                                                    class=\"block font-medium form-control  p-2.5 rounded-lg sm:text-sm text-gray-900 w-full ps-5\" id=\"email\"
  599.                                                    placeholder=\"name@example.com\">
  600.                                             <label class=\"mb-2 ms-2 ps-5 text-sm font-medium text-gray-900 dark:text-white\" for=\"email\">Email address</label>
  601.                                             <div class=\"absolute\" style=\"top: 15px;left: 21px;color: #a1a1a1;\">
  602.                                                 <i class=\"bx bx-envelope text-2xl\"></i>
  603.                                             </div>
  604.                                         </div>
  605.                                         <div class=\"form-floating col-md-6 mb-3 col-md-6\">
  606.                                             <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\">
  607.                                         </div>
  608.                                     </div>
  609.                                     <div class=\"mb-4 row\">
  610.                                         <label for=\"example-search-input\" class=\"col-md-2 col-form-label\">Genre</label>
  611.                                         <div class=\"col-xl-2 col-sm-4\">
  612.                                             <label class=\"card-radio-label mb-3\">
  613.                                                 <input type=\"radio\" value=\"1\" name=\"gender\" {% if coach.gender == '1' %}checked{% endif %} class=\"card-radio-input\">
  614.                                                 <div class=\"card-radio\">
  615.                                                     <i class=\"bx bx-user-circle font-size-24 text-primary align-middle me-2\"></i>
  616.                                                     <span>Homme</span>
  617.                                                 </div>
  618.                                             </label>
  619.                                         </div>
  620.                                         <div class=\"col-xl-2 col-sm-4\">
  621.                                             <label class=\"card-radio-label mb-3\">
  622.                                                 <input type=\"radio\" value=\"0\" name=\"gender\" {% if coach.gender == '0' %}checked{% endif %} class=\"card-radio-input\">
  623.                                                 <div class=\"card-radio\">
  624.                                                     <i class=\"bx bx-user-circle font-size-24 text-primary align-middle me-2\"></i>
  625.                                                     <span>Femme</span>
  626.                                                 </div>
  627.                                             </label>
  628.                                         </div>
  629.                                     </div>
  630.                                     <div class=\"row pb-9 text-sm\">
  631.                                         <div class=\"  \">
  632.                                             <p for=\"\" class=\"form-label font-semibold col-2  \">Biographie</p>
  633.                                             <div class=\"relative w-full\">
  634.                                                 <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>
  635.                                                 <div class=\"absolute\" style=\"top: 8px;left: 11px;color: #a1a1a1;\">
  636.                                                     <i class=\"bx bx-notepad text-2xl\" style=\"\"></i>
  637.                                                 </div>
  638.                                             </div>
  639.                                         </div>
  640.                                     </div>
  641.                                     <h5 class=\"text-lg font-semibold mt-5 \">Détails de Résidence </h5>
  642.                                     <p class=\"pb-4 text-gray-700 text-sm\">Ici, vous pouvez modifier et consulter l'adresse du coach. </p>
  643.                                     <div class=\"row mb-4\">
  644.                                         <div class=\"mb-3 col-md-6\">
  645.                                             <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\">
  646.                                                 <option value=\"BE\" data-capital=\"Brussels\" {% if coach.country == 'BE' %}selected{% endif %}>Belgium</option>
  647.                                                 <option value=\"CA\" data-capital=\"Ottawa\" {% if coach.country == 'CA' %}selected{% endif %}>Canada</option>
  648.                                                 <option value=\"FR\" data-capital=\"Paris\" {% if coach.country == 'FR' %}selected{% endif %}>France</option>
  649.                                                 <option value=\"PF\" data-capital=\"Papeete\" {% if coach.country == 'PF' %}selected{% endif %}>French Polynesia</option>
  650.                                                 <option value=\"LU\" data-capital=\"Luxembourg City\" {% if coach.country == 'LU' %}selected{% endif %}>Luxembourg</option>
  651.                                                 <option value=\"MA\" data-capital=\"Rabat\" {% if coach.country == 'MA' %}selected{% endif %}>Morocco</option>
  652.                                                 <option value=\"NL\" data-capital=\"Amsterdam\" {% if coach.country == 'NL' %}selected{% endif %}>Netherlands</option>
  653.                                                 <option value=\"NZ\" data-capital=\"Wellington\" {% if coach.country == 'NZ' %}selected{% endif %}>New Zealand</option>
  654.                                             </select>
  655.                                         </div>
  656.                                         <div class=\"form-floating mb-3 col-md-6\" id=\"city\">
  657.                                             <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\">
  658.                                             <label class=\"mb-2 ps-4 text-sm font-medium text-gray-900 dark:text-white\" for=\"floatingInput\">Adresse
  659.                                             </label>
  660.                                         </div>
  661.                                     </div>
  662.                                     <div class=\"divider mt-16\"></div>
  663.                                     <div class=\"flex mt-4 row\">
  664.                                         <div class=\"col-md-6\">
  665.                                             <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>
  666.                                         </div>
  667.                                         <div class=\"col-md flex justify-end\">
  668.                                             <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\">
  669.                                                 Annuler</button>
  670.                                             <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>
  671.                                         </div>
  672.                                     </div>
  673.                                 </form>
  674.                             </div>
  675.                             <!-- end card body -->
  676.                         </div>
  677.                         <!-- end card -->
  678.                     </div>
  679.                     <!-- end col -->
  680.                     <!-- end col -->
  681.                 </div>
  682.             </div> <!-- container-fluid -->
  683. <!-- End main -->
  684. {% endblock %}
  685. {% block javascripts %}
  686.     <!-- apexcharts -->
  687.     <script src=\"{{ asset('admin/libs/parsleyjs/parsley.min.js')}}\"></script>
  688.     <script src=\"{{ asset('admin/libs/select2/js/select2.min.js')}}\"></script>
  689.     <script src=\"{{ asset('admin/libs/bootstrap-maxlength/bootstrap-maxlength.min.js')}}\"></script>
  690.     <script src=\"{{ asset('admin/js/pages/form-validation.init.js')}}\"></script>
  691.     <script src=\"{{ asset('admin/js/app.js')}}\"></script>
  692.     <script>
  693.                                         /*
  694.                                          Template Name: Skote - Admin & Dashboard Template
  695.                                          Author: Themesbrand
  696.                                          Website: https://themesbrand.com/
  697.                                          Contact: themesbrand@gmail.com
  698.                                          File: Form Advanced Js File
  699.                                          */
  700.                                         !function (\$) {
  701.                                             \"use strict\";
  702.                                             var AdvancedForm = function () { };
  703.                                             AdvancedForm.prototype.init = function () {
  704.                                                 // Select2
  705.                                                 if (\$('.select2').length > 0) {
  706.                                                     \$(\".select2\").select2();
  707.                                                 }
  708.                                                 if (\$('.select2-tags').length > 0) {
  709.                                                     \$(\".select2-tags\").select2({
  710.                                                         tags: true
  711.                                                     });
  712.                                                 }
  713.                                                 if (\$('.select2-limiting-3').length > 0) {
  714.                                                     \$(\".select2-limiting-3\").select2({
  715.                                                         maximumSelectionLength: 3
  716.                                                     });
  717.                                                 }
  718.                                                 //Bootstrap-MaxLength
  719.                                                 \$('input#defaultconfig').maxlength({
  720.                                                     warningClass: \"badge bg-info\",
  721.                                                     limitReachedClass: \"badge bg-warning\"
  722.                                                 });
  723.                                                 \$('input#thresholdconfig').maxlength({
  724.                                                     threshold: 20,
  725.                                                     warningClass: \"badge bg-info\",
  726.                                                     limitReachedClass: \"badge bg-warning\"
  727.                                                 });
  728.                                                 \$('input#moreoptions').maxlength({
  729.                                                     alwaysShow: true,
  730.                                                     warningClass: \"badge bg-success\",
  731.                                                     limitReachedClass: \"badge bg-danger\"
  732.                                                 });
  733.                                                 \$('input#alloptions').maxlength({
  734.                                                     alwaysShow: true,
  735.                                                     warningClass: \"badge bg-success\",
  736.                                                     limitReachedClass: \"badge bg-danger\",
  737.                                                     separator: ' out of ',
  738.                                                     preText: 'You typed ',
  739.                                                     postText: ' chars available.',
  740.                                                     validate: true
  741.                                                 });
  742.                                                 \$('textarea#textarea').maxlength({
  743.                                                     alwaysShow: true,
  744.                                                     warningClass: \"badge bg-info\",
  745.                                                     limitReachedClass: \"badge bg-warning\"
  746.                                                 });
  747.                                                 \$('input#placement').maxlength({
  748.                                                     alwaysShow: true,
  749.                                                     placement: 'top-left',
  750.                                                     warningClass: \"badge bg-info\",
  751.                                                     limitReachedClass: \"badge bg-warning\"
  752.                                                 });
  753.                                             },
  754.                                                     //init
  755.                                                     \$.AdvancedForm = new AdvancedForm, \$.AdvancedForm.Constructor = AdvancedForm
  756.                                         }(window.jQuery),
  757.                                                 //Datepicker
  758.                                                         function (\$) {
  759.                                                             \"use strict\";
  760.                                                             \$.AdvancedForm.init();
  761.                                                         }(window.jQuery);
  762.     </script>
  763. {% endblock %}""admin/coach/editCoach.html.twig""/home/bookoachroot/public_html/templates/admin/coach/editCoach.html.twig");
  764.     }
  765. }