var/cache/dev/twig/f2/f2ee66af5e2f04d865eaf4613b9db7fb.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/country/edit/editCountry.html.twig */
  15. class __TwigTemplate_3485efa2d72daf87c495c953be978566 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/country/edit/editCountry.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/country/edit/editCountry.html.twig"));
  46.         $this->parent $this->loadTemplate("admin/baseAdmin.html.twig""admin/country/edit/editCountry.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 Pays";
  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 "Pays";
  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 "Création de pays";
  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/country/edit/editCountry.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 Pays"), "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_country", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["country"]) || array_key_exists("country"$context) ? $context["country"] : (function () { throw new RuntimeError('Variable "country" does not exist.'22$this->source); })()), "id", [], "any"falsefalsefalse22)]), "html"nulltrue);
  174.         yield "\" enctype=\"multipart/form-data\"  >
  175.                             <div  class=\"space-y-3 \">
  176.                                 <div class=\"m-auto my-1 relative \">
  177.                                     <label for=\"avatar-upload\" class=\"relative flex justify-center\" style=\"cursor: pointer;\">
  178.                                         <img src=\"";
  179.         // line 26
  180.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("" CoreExtension::getAttribute($this->env$this->source, (isset($context["country"]) || array_key_exists("country"$context) ? $context["country"] : (function () { throw new RuntimeError('Variable "country" does not exist.'26$this->source); })()), "image", [], "any"falsefalsefalse26))), "html"nulltrue);
  181.         yield "\" class=\"rounded-xl h-64 object-cover w-full\" id=\"avatar-img\">
  182.                                         <div class=\"h-10 w-10 bg-orange rounded-full flex  items-center justify-center\" style=\"position: absolute;right: 43%;bottom: 4px;font-size: 43px;\">
  183.                                             <i class=\"bx bxs-image-alt text-xl text-white\"></i>
  184.                                         </div>
  185.                                         <input type=\"file\" id=\"avatar-upload\" name=\"medias[]\" style=\"display: none;\" name=\"image\" accept=\"image/*\" onchange=\"changeAvatar(event)\">
  186.                                     </label>
  187.                                 </div>
  188.                             </div>
  189.                             <h5 class=\"text-lg font-semibold mt-5 \">Détails de Pays </h5>
  190.                             <p class=\"pb-4 text-gray-700 text-sm\">Ici, vous pouvez modifier et consulter la Pays . </p>
  191.                             <div class=\"row mb-4\">
  192.                                 <div class=\"col-md-6 mb-3\">
  193.                                     <p for=\"\" class=\"form-label font-semibold \">Nom du pays</p>
  194.                                     <div class=\"form-floating  pe-0 \" id=\"city\">
  195.                                         <input value=\"";
  196.         // line 42
  197.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["country"]) || array_key_exists("country"$context) ? $context["country"] : (function () { throw new RuntimeError('Variable "country" does not exist.'42$this->source); })()), "name", [], "any"falsefalsefalse42), "html"nulltrue);
  198.         yield "\" type=\"text\" name=\"name\" class=\"block sm:text-sm form-control p-2.5 rounded-lg w-full mt-0\" id=\"floatingInput\" placeholder=\"lieu\">
  199.                                         <label class=\"mb-2 ps-4 text-sm font-medium text-gray-900 dark:text-white\" for=\"floatingInput\">Titre du pays                                                 </label>
  200.                                     </div>
  201.                                 </div>
  202.                                 <div class=\"col-md-6 pb-9 text-sm\">
  203.                                     <div class=\"  \">
  204.                                         <p for=\"\" class=\"form-label font-semibold \">Description</p>
  205.                                         <div class=\"relative w-full\">
  206.                                             <textarea class=\"form-control text-sm px-5 pe-4\" name=\"description\" placeholder=\"Décris la Pays\" id=\"description_programe\" style=\"height: 62px\">";
  207.         // line 52
  208.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["country"]) || array_key_exists("country"$context) ? $context["country"] : (function () { throw new RuntimeError('Variable "country" does not exist.'52$this->source); })()), "description", [], "any"falsefalsefalse52), "html"nulltrue);
  209.         yield "</textarea>
  210.                                             <div class=\"absolute\" style=\"top: 8px;left: 11px;color: #a1a1a1;\">
  211.                                                 <i class=\"bx bx-notepad text-2xl\" style=\"\"></i>
  212.                                             </div>
  213.                                         </div>
  214.                                     </div>
  215.                                 </div>
  216.                                 <div class=\" col-md-6 col-sm-12 \">
  217.                                     <p for=\"\" class=\"form-label font-semibold \">Ordre du pays </p>
  218.                                     <div class=\" form-floating \">
  219.                                         <input value=\"";
  220.         // line 65
  221.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["country"]) || array_key_exists("country"$context) ? $context["country"] : (function () { throw new RuntimeError('Variable "country" does not exist.'65$this->source); })()), "ordre", [], "any"falsefalsefalse65), "html"nulltrue);
  222.         yield "\" type=\"number\" name=\"ordre\"
  223.                                                class=\"form-control sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 ps-5\"
  224.                                                id=\"nom\" placeholder=\"\">
  225.                                         <label class=\"mb-2 ms-2 ps-5 text-sm font-medium text-gray-900 \" for=\"nom\"> ordre Pays</label>
  226.                                         <div class=\"absolute\" style=\"top: 11px;left: 17px;color: #a1a1a1;\">
  227.                                             <i class=\"bx bx-sort-a-z\" style=\"font-size: 36px;\"></i>
  228.                                         </div>    
  229.                                     </div>
  230.                                 </div>
  231.                             </div>
  232.                             <div class=\"divider mt-16\"></div>
  233.                             <div class=\"flex mt-4 row\">
  234.                                 <div class=\"col-md-6\">
  235.                                     <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>
  236.                                 </div>
  237.                                 <div class=\"col-md flex justify-end\">
  238.                                     <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\">
  239.                                         Annuler</button>
  240.                                     <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>
  241.                                 </div>
  242.                             </div>
  243.                         </form>
  244.                     </div>
  245.                     <!-- end card body -->
  246.                 </div>
  247.                 <!-- end card -->
  248.             </div>
  249.             <!-- end col -->
  250.             <!-- end col -->
  251.         </div>
  252.     </div> <!-- container-fluid -->
  253.     <!-- End main -->
  254. ";
  255.         
  256.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  257.         
  258.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  259.         return; yield '';
  260.     }
  261.     // line 110
  262.     public function block_javascripts($context, array $blocks = [])
  263.     {
  264.         $macros $this->macros;
  265.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  266.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  267.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  268.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  269.         // line 111
  270.         yield "    <!-- apexcharts -->
  271.     <script src=\"";
  272.         // line 112
  273.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/parsleyjs/parsley.min.js"), "html"nulltrue);
  274.         yield "\"></script>
  275.     <script src=\"";
  276.         // line 113
  277.         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);
  278.         yield "\"></script>
  279.     <script src=\"";
  280.         // line 114
  281.         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);
  282.         yield "\"></script>
  283.     <script src=\"";
  284.         // line 116
  285.         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);
  286.         yield "\"></script>
  287.     <script src=\"";
  288.         // line 118
  289.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/js/app.js"), "html"nulltrue);
  290.         yield "\"></script>
  291.     <script>
  292.                                                     /*
  293.                                                      Template Name: Skote - Admin & Dashboard Template
  294.                                                      Author: Themesbrand
  295.                                                      Website: https://themesbrand.com/
  296.                                                      Contact: themesbrand@gmail.com
  297.                                                      File: Form Advanced Js File
  298.                                                      */
  299.                                                     !function (\$) {
  300.                                                         \"use strict\";
  301.                                                         var AdvancedForm = function () { };
  302.                                                         AdvancedForm.prototype.init = function () {
  303.                                                             // Select2
  304.                                                             if (\$('.select2').length > 0) {
  305.                                                                 \$(\".select2\").select2();
  306.                                                             }
  307.                                                             if (\$('.select2-tags').length > 0) {
  308.                                                                 \$(\".select2-tags\").select2({
  309.                                                                     tags: true
  310.                                                                 });
  311.                                                             }
  312.                                                             if (\$('.select2-limiting-3').length > 0) {
  313.                                                                 \$(\".select2-limiting-3\").select2({
  314.                                                                     maximumSelectionLength: 3
  315.                                                                 });
  316.                                                             }
  317.                                                             //Bootstrap-MaxLength
  318.                                                             \$('input#defaultconfig').maxlength({
  319.                                                                 warningClass: \"badge bg-info\",
  320.                                                                 limitReachedClass: \"badge bg-warning\"
  321.                                                             });
  322.                                                             \$('input#thresholdconfig').maxlength({
  323.                                                                 threshold: 20,
  324.                                                                 warningClass: \"badge bg-info\",
  325.                                                                 limitReachedClass: \"badge bg-warning\"
  326.                                                             });
  327.                                                             \$('input#moreoptions').maxlength({
  328.                                                                 alwaysShow: true,
  329.                                                                 warningClass: \"badge bg-success\",
  330.                                                                 limitReachedClass: \"badge bg-danger\"
  331.                                                             });
  332.                                                             \$('input#alloptions').maxlength({
  333.                                                                 alwaysShow: true,
  334.                                                                 warningClass: \"badge bg-success\",
  335.                                                                 limitReachedClass: \"badge bg-danger\",
  336.                                                                 separator: ' out of ',
  337.                                                                 preText: 'You typed ',
  338.                                                                 postText: ' chars available.',
  339.                                                                 validate: true
  340.                                                             });
  341.                                                             \$('textarea#textarea').maxlength({
  342.                                                                 alwaysShow: true,
  343.                                                                 warningClass: \"badge bg-info\",
  344.                                                                 limitReachedClass: \"badge bg-warning\"
  345.                                                             });
  346.                                                             \$('input#placement').maxlength({
  347.                                                                 alwaysShow: true,
  348.                                                                 placement: 'top-left',
  349.                                                                 warningClass: \"badge bg-info\",
  350.                                                                 limitReachedClass: \"badge bg-warning\"
  351.                                                             });
  352.                                                         },
  353.                                                                 //init
  354.                                                                 \$.AdvancedForm = new AdvancedForm, \$.AdvancedForm.Constructor = AdvancedForm
  355.                                                     }(window.jQuery),
  356.                                                             //Datepicker
  357.                                                                     function (\$) {
  358.                                                                         \"use strict\";
  359.                                                                         \$.AdvancedForm.init();
  360.                                                                     }(window.jQuery);
  361.     </script>
  362. ";
  363.         
  364.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  365.         
  366.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  367.         return; yield '';
  368.     }
  369.     /**
  370.      * @codeCoverageIgnore
  371.      */
  372.     public function getTemplateName()
  373.     {
  374.         return "admin/country/edit/editCountry.html.twig";
  375.     }
  376.     /**
  377.      * @codeCoverageIgnore
  378.      */
  379.     public function isTraitable()
  380.     {
  381.         return false;
  382.     }
  383.     /**
  384.      * @codeCoverageIgnore
  385.      */
  386.     public function getDebugInfo()
  387.     {
  388.         return array (  361 => 118,  356 => 116,  351 => 114,  347 => 113,  343 => 112,  340 => 111,  330 => 110,  274 => 65,  258 => 52,  245 => 42,  226 => 26,  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,);
  389.     }
  390.     public function getSourceContext()
  391.     {
  392.         return new Source("{% extends 'admin/baseAdmin.html.twig' %}
  393. {% block page_title %}Modifier Pays{% endblock %}
  394. {% block breadcump_main %}Pays{% endblock %}
  395. {% block breadcump_subtitle %}Création de pays{% endblock %}
  396. {% block menu_left_sidebar %}
  397.     {% include 'include/menu/menuAdmin.html.twig' with { menu_active_event : '2'} %}
  398. {% endblock %}
  399. {% block stylesheets %}
  400.     <link href=\"{{ asset('admin/libs/select2/css/select2.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  401.     <link href=\"{{ asset('admin/css/tailwind.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  402.     <link href=\"{{ asset('admin/css/tailwind2.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  403. {% endblock %}
  404. {% block title %}{{\"Modifier Pays\"|trans }}{% endblock %} 
  405. {% block content %} 
  406.     <div class=\"container-fluid\">
  407.         <div class=\"row\">
  408.             <div class=\"col-xl-12 px-0\">
  409.                 <div class=\"card\">
  410.                     <div class=\"card-body\">
  411.                         <form class=\"p-1 \" method=\"post\" action=\"{{ path('edit_country',{'id':country.id})}}\" enctype=\"multipart/form-data\"  >
  412.                             <div  class=\"space-y-3 \">
  413.                                 <div class=\"m-auto my-1 relative \">
  414.                                     <label for=\"avatar-upload\" class=\"relative flex justify-center\" style=\"cursor: pointer;\">
  415.                                         <img src=\"{{ asset(''~country.image) }}\" class=\"rounded-xl h-64 object-cover w-full\" id=\"avatar-img\">
  416.                                         <div class=\"h-10 w-10 bg-orange rounded-full flex  items-center justify-center\" style=\"position: absolute;right: 43%;bottom: 4px;font-size: 43px;\">
  417.                                             <i class=\"bx bxs-image-alt text-xl text-white\"></i>
  418.                                         </div>
  419.                                         <input type=\"file\" id=\"avatar-upload\" name=\"medias[]\" style=\"display: none;\" name=\"image\" accept=\"image/*\" onchange=\"changeAvatar(event)\">
  420.                                     </label>
  421.                                 </div>
  422.                             </div>
  423.                             <h5 class=\"text-lg font-semibold mt-5 \">Détails de Pays </h5>
  424.                             <p class=\"pb-4 text-gray-700 text-sm\">Ici, vous pouvez modifier et consulter la Pays . </p>
  425.                             <div class=\"row mb-4\">
  426.                                 <div class=\"col-md-6 mb-3\">
  427.                                     <p for=\"\" class=\"form-label font-semibold \">Nom du pays</p>
  428.                                     <div class=\"form-floating  pe-0 \" id=\"city\">
  429.                                         <input value=\"{{ country.name }}\" type=\"text\" name=\"name\" class=\"block sm:text-sm form-control p-2.5 rounded-lg w-full mt-0\" id=\"floatingInput\" placeholder=\"lieu\">
  430.                                         <label class=\"mb-2 ps-4 text-sm font-medium text-gray-900 dark:text-white\" for=\"floatingInput\">Titre du pays                                                 </label>
  431.                                     </div>
  432.                                 </div>
  433.                                 <div class=\"col-md-6 pb-9 text-sm\">
  434.                                     <div class=\"  \">
  435.                                         <p for=\"\" class=\"form-label font-semibold \">Description</p>
  436.                                         <div class=\"relative w-full\">
  437.                                             <textarea class=\"form-control text-sm px-5 pe-4\" name=\"description\" placeholder=\"Décris la Pays\" id=\"description_programe\" style=\"height: 62px\">{{ country.description }}</textarea>
  438.                                             <div class=\"absolute\" style=\"top: 8px;left: 11px;color: #a1a1a1;\">
  439.                                                 <i class=\"bx bx-notepad text-2xl\" style=\"\"></i>
  440.                                             </div>
  441.                                         </div>
  442.                                     </div>
  443.                                 </div>
  444.                                 <div class=\" col-md-6 col-sm-12 \">
  445.                                     <p for=\"\" class=\"form-label font-semibold \">Ordre du pays </p>
  446.                                     <div class=\" form-floating \">
  447.                                         <input value=\"{{ country.ordre }}\" type=\"number\" name=\"ordre\"
  448.                                                class=\"form-control sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 ps-5\"
  449.                                                id=\"nom\" placeholder=\"\">
  450.                                         <label class=\"mb-2 ms-2 ps-5 text-sm font-medium text-gray-900 \" for=\"nom\"> ordre Pays</label>
  451.                                         <div class=\"absolute\" style=\"top: 11px;left: 17px;color: #a1a1a1;\">
  452.                                             <i class=\"bx bx-sort-a-z\" style=\"font-size: 36px;\"></i>
  453.                                         </div>    
  454.                                     </div>
  455.                                 </div>
  456.                             </div>
  457.                             <div class=\"divider mt-16\"></div>
  458.                             <div class=\"flex mt-4 row\">
  459.                                 <div class=\"col-md-6\">
  460.                                     <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>
  461.                                 </div>
  462.                                 <div class=\"col-md flex justify-end\">
  463.                                     <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\">
  464.                                         Annuler</button>
  465.                                     <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>
  466.                                 </div>
  467.                             </div>
  468.                         </form>
  469.                     </div>
  470.                     <!-- end card body -->
  471.                 </div>
  472.                 <!-- end card -->
  473.             </div>
  474.             <!-- end col -->
  475.             <!-- end col -->
  476.         </div>
  477.     </div> <!-- container-fluid -->
  478.     <!-- End main -->
  479. {% endblock %}
  480. {% block javascripts %}
  481.     <!-- apexcharts -->
  482.     <script src=\"{{ asset('admin/libs/parsleyjs/parsley.min.js')}}\"></script>
  483.     <script src=\"{{ asset('admin/libs/select2/js/select2.min.js')}}\"></script>
  484.     <script src=\"{{ asset('admin/libs/bootstrap-maxlength/bootstrap-maxlength.min.js')}}\"></script>
  485.     <script src=\"{{ asset('admin/js/pages/form-validation.init.js')}}\"></script>
  486.     <script src=\"{{ asset('admin/js/app.js')}}\"></script>
  487.     <script>
  488.                                                     /*
  489.                                                      Template Name: Skote - Admin & Dashboard Template
  490.                                                      Author: Themesbrand
  491.                                                      Website: https://themesbrand.com/
  492.                                                      Contact: themesbrand@gmail.com
  493.                                                      File: Form Advanced Js File
  494.                                                      */
  495.                                                     !function (\$) {
  496.                                                         \"use strict\";
  497.                                                         var AdvancedForm = function () { };
  498.                                                         AdvancedForm.prototype.init = function () {
  499.                                                             // Select2
  500.                                                             if (\$('.select2').length > 0) {
  501.                                                                 \$(\".select2\").select2();
  502.                                                             }
  503.                                                             if (\$('.select2-tags').length > 0) {
  504.                                                                 \$(\".select2-tags\").select2({
  505.                                                                     tags: true
  506.                                                                 });
  507.                                                             }
  508.                                                             if (\$('.select2-limiting-3').length > 0) {
  509.                                                                 \$(\".select2-limiting-3\").select2({
  510.                                                                     maximumSelectionLength: 3
  511.                                                                 });
  512.                                                             }
  513.                                                             //Bootstrap-MaxLength
  514.                                                             \$('input#defaultconfig').maxlength({
  515.                                                                 warningClass: \"badge bg-info\",
  516.                                                                 limitReachedClass: \"badge bg-warning\"
  517.                                                             });
  518.                                                             \$('input#thresholdconfig').maxlength({
  519.                                                                 threshold: 20,
  520.                                                                 warningClass: \"badge bg-info\",
  521.                                                                 limitReachedClass: \"badge bg-warning\"
  522.                                                             });
  523.                                                             \$('input#moreoptions').maxlength({
  524.                                                                 alwaysShow: true,
  525.                                                                 warningClass: \"badge bg-success\",
  526.                                                                 limitReachedClass: \"badge bg-danger\"
  527.                                                             });
  528.                                                             \$('input#alloptions').maxlength({
  529.                                                                 alwaysShow: true,
  530.                                                                 warningClass: \"badge bg-success\",
  531.                                                                 limitReachedClass: \"badge bg-danger\",
  532.                                                                 separator: ' out of ',
  533.                                                                 preText: 'You typed ',
  534.                                                                 postText: ' chars available.',
  535.                                                                 validate: true
  536.                                                             });
  537.                                                             \$('textarea#textarea').maxlength({
  538.                                                                 alwaysShow: true,
  539.                                                                 warningClass: \"badge bg-info\",
  540.                                                                 limitReachedClass: \"badge bg-warning\"
  541.                                                             });
  542.                                                             \$('input#placement').maxlength({
  543.                                                                 alwaysShow: true,
  544.                                                                 placement: 'top-left',
  545.                                                                 warningClass: \"badge bg-info\",
  546.                                                                 limitReachedClass: \"badge bg-warning\"
  547.                                                             });
  548.                                                         },
  549.                                                                 //init
  550.                                                                 \$.AdvancedForm = new AdvancedForm, \$.AdvancedForm.Constructor = AdvancedForm
  551.                                                     }(window.jQuery),
  552.                                                             //Datepicker
  553.                                                                     function (\$) {
  554.                                                                         \"use strict\";
  555.                                                                         \$.AdvancedForm.init();
  556.                                                                     }(window.jQuery);
  557.     </script>
  558. {% endblock %}""admin/country/edit/editCountry.html.twig""/home/bookoachroot/public_html/templates/admin/country/edit/editCountry.html.twig");
  559.     }
  560. }