<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* admin/experience/edit/editGeneralinfo.html.twig */
class __TwigTemplate_9d328d2785fa3c81f7919914ba2f4f60 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'page_title' => [$this, 'block_page_title'],
'breadcump_main' => [$this, 'block_breadcump_main'],
'breadcump_subtitle' => [$this, 'block_breadcump_subtitle'],
'menu_left_sidebar' => [$this, 'block_menu_left_sidebar'],
'stylesheets' => [$this, 'block_stylesheets'],
'content' => [$this, 'block_content'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "admin/baseAdmin.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "admin/experience/edit/editGeneralinfo.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "admin/experience/edit/editGeneralinfo.html.twig"));
$this->parent = $this->loadTemplate("admin/baseAdmin.html.twig", "admin/experience/edit/editGeneralinfo.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 2
public function block_page_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_title"));
yield "Modification d'informations Génerale ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 3
public function block_breadcump_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcump_main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcump_main"));
yield "Experiences";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 4
public function block_breadcump_subtitle($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcump_subtitle"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcump_subtitle"));
yield "Nouvelle experience";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 5
public function block_menu_left_sidebar($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu_left_sidebar"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu_left_sidebar"));
// line 6
yield " ";
yield from $this->loadTemplate("include/menu/menuAdmin.html.twig", "admin/experience/edit/editGeneralinfo.html.twig", 6)->unwrap()->yield(CoreExtension::merge($context, ["menu_active_event" => "2"]));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 8
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 9
yield " <link href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/select2/css/select2.min.css"), "html", null, true);
yield "\" rel=\"stylesheet\" type=\"text/css\">
<link href=\"";
// line 10
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/css/tailwind.min.css"), "html", null, true);
yield "\" rel=\"stylesheet\" type=\"text/css\">
<link href=\"";
// line 11
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/css/tailwind2.css"), "html", null, true);
yield "\" rel=\"stylesheet\" type=\"text/css\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 14
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 15
yield " <form id=\"form-general\" class=\"general-info custom-validation\" method=\"POST\" action=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("edit_general_info", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["experience"]) || array_key_exists("experience", $context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.', 15, $this->source); })()), "id", [], "any", false, false, false, 15)]), "html", null, true);
yield "\" enctype=\"multipart/form-data\" >
<div class=\"container-fluid\">
<div class=\"row\">
<div class=\"col-xl-12 px-0\">
<div class=\"card\">
<div class=\"card-body\">
<div class=\"sm:p-4 p-2 pb-0 pt-1\" >
<h5 class=\"text-lg font-semibold mt-5 \">Information General de l’expérience</h5>
<p class=\"text-gray-700 text-sm\">Enregistrer les informations au dessous pour décrire : ";
// line 26
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["experience"]) || array_key_exists("experience", $context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.', 26, $this->source); })()), "title", [], "any", false, false, false, 26), "html", null, true);
yield " .</p>
<div class=\"divider w-2/6 mt-1 mb-5\"></div>
<div class=\"row mb-4 text-sm \">
<div class=\"flex items-center\">
<p for=\"\" class=\"form-label font-semibold col-3\">Titre</p>
<div class=\"form-floating mb-3 col-9\">
<input value=\"";
// line 32
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["experience"]) || array_key_exists("experience", $context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.', 32, $this->source); })()), "title", [], "any", false, false, false, 32), "html", null, true);
yield "\" required=\"\" class=\"form-control\" id=\"floatingnameInput\" required=\"\" type=\"text\" name=\"title\" placeholder=\"Entrer le nom de l'expérience\">
<label for=\"floatingnameInput\">Entrer le nom de l'expérience</label>
</div>
</div>
</div>
<div class=\"row mb-4 text-sm\">
<div class=\" flex \">
<p for=\"\" class=\"form-label font-semibold col-3 \"> Résumé </p>
<div class=\"relative col-9\">
<textarea required=\"\" class=\"form-control text-sm px-5\" name=\"resume\" placeholder=\"Taper une petite description \"
id=\"floatingTextarea2\" style=\"height: 100px\">";
// line 42
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["experience"]) || array_key_exists("experience", $context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.', 42, $this->source); })()), "resume", [], "any", false, false, false, 42), "html", null, true);
yield "</textarea>
<div class=\"absolute\" style=\"top: 8px;left: 11px;color: #a1a1a1;\">
<i class=\"bx bx-notepad text-2xl\"></i>
</div>
</div>
</div>
</div>
<div class=\"mb-3 row flex items-start text-sm\">
<p for=\"formrow-inputState\" class=\"form-label font-semibold col-3\">Type de coaching</p>
<div class=\"col-9 px-0\">
<div class=\"flex gap-2 justify-between\">
<div class=\"flex items-center ps-4 w-1/3 rounded dark:border-gray-700\">
<div class=\"form-check mb-3\">
<input ";
// line 57
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["experience"]) || array_key_exists("experience", $context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.', 57, $this->source); })()), "coachingtype", [], "any", false, false, false, 57) == "private")) {
yield " checked";
}
yield " class=\"form-check-input\" type=\"radio\" value=\"private\" name=\"coachingtype\"
id=\"formRadios1\" checked>
<label class=\"form-check-label\" for=\"formRadios1\">
Coaching Privé
</label>
</div>
</div>
<div class=\"flex items-center ps-4 w-1/3 rounded dark:border-gray-700\">
<div class=\"form-check mb-3\">
<input ";
// line 67
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["experience"]) || array_key_exists("experience", $context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.', 67, $this->source); })()), "coachingtype", [], "any", false, false, false, 67) == "groupe")) {
yield " checked";
}
yield " class=\"form-check-input\" type=\"radio\" value=\"groupe\" name=\"coachingtype\"
id=\"formRadios2\" >
<label class=\"form-check-label\" for=\"formRadios2\">
Coaching en groupe
</label>
</div>
</div>
<div class=\"flex items-center ps-4 w-1/3 rounded dark:border-gray-700\">
<div class=\"form-check mb-3\">
<input ";
// line 76
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["experience"]) || array_key_exists("experience", $context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.', 76, $this->source); })()), "coachingtype", [], "any", false, false, false, 76) == "visio")) {
yield " checked";
}
yield " class=\"form-check-input\" type=\"radio\" value=\"visio\" name=\"coachingtype\"
id=\"formRadios3\">
<label class=\"form-check-label\" for=\"formRadios3\">
Coaching par Visio
</label>
</div>
</div>
</div>
<p class=\"text-[10px] text-gray-600 my-2\">*Vous pouvez sélectionné un seul type de coaching.</p>
</div>
</div>
<div class=\"row\">
<div class=\"col-md-6\">
<div class=\"form-floating mb-3\">
<label class=\"form-label\">Destination</label>
<input hidden=\"\" type=\"text\" value=\"";
// line 91
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["experience"]) || array_key_exists("experience", $context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.', 91, $this->source); })()), "destination", [], "any", false, false, false, 91), "country", [], "any", false, false, false, 91), "id", [], "any", false, false, false, 91), "html", null, true);
yield "\" name=\"country\" >
<select required=\"\" name=\"destination\" class=\"form-select form-select6LG select2-tags\" id=\"floatingSelectGrid\" aria-label=\"Floating label select example\">
";
// line 93
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["experience"]) || array_key_exists("experience", $context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.', 93, $this->source); })()), "destination", [], "any", false, false, false, 93), "country", [], "any", false, false, false, 93), "destinations", [], "any", false, false, false, 93));
foreach ($context['_seq'] as $context["_key"] => $context["destination"]) {
// line 94
yield " <option ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["destination"], "id", [], "any", false, false, false, 94) == CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["experience"]) || array_key_exists("experience", $context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.', 94, $this->source); })()), "destination", [], "any", false, false, false, 94), "id", [], "any", false, false, false, 94))) {
yield "selected=\"\"";
}
yield " value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["destination"], "id", [], "any", false, false, false, 94), "html", null, true);
yield "\" >";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["destination"], "name", [], "any", false, false, false, 94), "html", null, true);
yield "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['destination'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 96
yield " </select>
</div>
</div>
<div class=\"col-md-6\">
<div class=\"form-floating mb-3\">
<label class=\"form-label\">Sous catégorie</label>
<select multiple=\"\" required=\"\" name=\"subcategories[]\" class=\"form-select form-select6LG select2\" id=\"floatingSelect\" aria-label=\"Floating label select example\">
";
// line 103
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["experience"]) || array_key_exists("experience", $context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.', 103, $this->source); })()), "subcategories", [], "any", false, false, false, 103), 0, [], "array", false, false, false, 103), "category", [], "any", false, false, false, 103), "subcategories", [], "any", false, false, false, 103));
foreach ($context['_seq'] as $context["_key"] => $context["subcategory"]) {
// line 104
yield " <option ";
if (CoreExtension::inFilter($context["subcategory"], CoreExtension::getAttribute($this->env, $this->source, (isset($context["experience"]) || array_key_exists("experience", $context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.', 104, $this->source); })()), "subcategories", [], "any", false, false, false, 104))) {
yield "selected=\"\"";
}
yield " value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["subcategory"], "id", [], "any", false, false, false, 104), "html", null, true);
yield "\" >";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["subcategory"], "name", [], "any", false, false, false, 104), "html", null, true);
yield "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['subcategory'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 106
yield " </select>
</div>
</div>
</div>
<div class=\"divider mt-20 mb-3\"></div>
<div class=\"flex mt-4 row pt-3\">
<div class=\"col-md-6\">
<p class=\"text-xs text-gray-900 mb-2\">En cliquant sur le bouton d'enregistrement, vous mettez à jours les informations
enregistrer par ce formulaire </p>
</div>
<div class=\"col-md flex justify-end\">
<button type=\"button\" style=\" color: #ffaa00; border: 1px solid;\"
class=\"font-medium h-10 cursor-pointer py-2.5 rounded-lg text-center text-sm w-40 me-2\">
Annuler</button>
<button type=\"submit\" style=\" background: #ffaa00;\"
class=\"font-medium hover:bg-pri cursor-pointer mary-700 h-10 py-2.5 rounded-lg text-center text-sm text-white w-40\">
Enregistrer</button>
</div>
</div>
</div>
</div>
<!-- end card body -->
</div>
<!-- end card -->
</div>
<!-- end col -->
<!-- end col -->
</div>
</div> <!-- container-fluid -->
</form>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 146
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 147
yield " <!-- apexcharts -->
<script src=\"";
// line 148
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/parsleyjs/parsley.min.js"), "html", null, true);
yield "\"></script>
<script src=\"";
// line 149
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/select2/js/select2.min.js"), "html", null, true);
yield "\"></script>
<script src=\"";
// line 150
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", null, true);
yield "\"></script>
<script src=\"";
// line 152
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/js/pages/form-validation.init.js"), "html", null, true);
yield "\"></script>
<script src=\"";
// line 154
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/js/app.js"), "html", null, true);
yield "\"></script>
<script>
/*
Template Name: Skote - Admin & Dashboard Template
Author: Themesbrand
Website: https://themesbrand.com/
Contact: themesbrand@gmail.com
File: Form Advanced Js File
*/
!function (\$) {
\"use strict\";
var AdvancedForm = function () { };
AdvancedForm.prototype.init = function () {
// Select2
if (\$('.select2').length > 0) {
\$(\".select2\").select2();
}
if (\$('.select2-tags').length > 0) {
\$(\".select2-tags\").select2({
tags: true
});
}
if (\$('.select2-limiting-3').length > 0) {
\$(\".select2-limiting-3\").select2({
maximumSelectionLength: 3
});
}
//Bootstrap-MaxLength
\$('input#defaultconfig').maxlength({
warningClass: \"badge bg-info\",
limitReachedClass: \"badge bg-warning\"
});
\$('input#thresholdconfig').maxlength({
threshold: 20,
warningClass: \"badge bg-info\",
limitReachedClass: \"badge bg-warning\"
});
\$('input#moreoptions').maxlength({
alwaysShow: true,
warningClass: \"badge bg-success\",
limitReachedClass: \"badge bg-danger\"
});
\$('input#alloptions').maxlength({
alwaysShow: true,
warningClass: \"badge bg-success\",
limitReachedClass: \"badge bg-danger\",
separator: ' out of ',
preText: 'You typed ',
postText: ' chars available.',
validate: true
});
\$('textarea#textarea').maxlength({
alwaysShow: true,
warningClass: \"badge bg-info\",
limitReachedClass: \"badge bg-warning\"
});
\$('input#placement').maxlength({
alwaysShow: true,
placement: 'top-left',
warningClass: \"badge bg-info\",
limitReachedClass: \"badge bg-warning\"
});
},
//init
\$.AdvancedForm = new AdvancedForm, \$.AdvancedForm.Constructor = AdvancedForm
}(window.jQuery),
//Datepicker
function (\$) {
\"use strict\";
\$.AdvancedForm.init();
}(window.jQuery);
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "admin/experience/edit/editGeneralinfo.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 427 => 154, 422 => 152, 417 => 150, 413 => 149, 409 => 148, 406 => 147, 396 => 146, 346 => 106, 331 => 104, 327 => 103, 318 => 96, 303 => 94, 299 => 93, 294 => 91, 274 => 76, 260 => 67, 245 => 57, 227 => 42, 214 => 32, 205 => 26, 190 => 15, 180 => 14, 166 => 11, 162 => 10, 157 => 9, 147 => 8, 135 => 6, 125 => 5, 105 => 4, 85 => 3, 65 => 2, 42 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'admin/baseAdmin.html.twig' %}
{% block page_title %}Modification d'informations Génerale {% endblock %}
{% block breadcump_main %}Experiences{% endblock %}
{% block breadcump_subtitle %}Nouvelle experience{% endblock %}
{% block menu_left_sidebar %}
{% include 'include/menu/menuAdmin.html.twig' with { menu_active_event : '2'} %}
{% endblock %}
{% block stylesheets %}
<link href=\"{{ asset('admin/libs/select2/css/select2.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
<link href=\"{{ asset('admin/css/tailwind.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
<link href=\"{{ asset('admin/css/tailwind2.css') }}\" rel=\"stylesheet\" type=\"text/css\">
{% endblock %}
{% block content %}
<form id=\"form-general\" class=\"general-info custom-validation\" method=\"POST\" action=\"{{ path('edit_general_info',{'id':experience.id}) }}\" enctype=\"multipart/form-data\" >
<div class=\"container-fluid\">
<div class=\"row\">
<div class=\"col-xl-12 px-0\">
<div class=\"card\">
<div class=\"card-body\">
<div class=\"sm:p-4 p-2 pb-0 pt-1\" >
<h5 class=\"text-lg font-semibold mt-5 \">Information General de l’expérience</h5>
<p class=\"text-gray-700 text-sm\">Enregistrer les informations au dessous pour décrire : {{ experience.title }} .</p>
<div class=\"divider w-2/6 mt-1 mb-5\"></div>
<div class=\"row mb-4 text-sm \">
<div class=\"flex items-center\">
<p for=\"\" class=\"form-label font-semibold col-3\">Titre</p>
<div class=\"form-floating mb-3 col-9\">
<input value=\"{{ experience.title }}\" required=\"\" class=\"form-control\" id=\"floatingnameInput\" required=\"\" type=\"text\" name=\"title\" placeholder=\"Entrer le nom de l'expérience\">
<label for=\"floatingnameInput\">Entrer le nom de l'expérience</label>
</div>
</div>
</div>
<div class=\"row mb-4 text-sm\">
<div class=\" flex \">
<p for=\"\" class=\"form-label font-semibold col-3 \"> Résumé </p>
<div class=\"relative col-9\">
<textarea required=\"\" class=\"form-control text-sm px-5\" name=\"resume\" placeholder=\"Taper une petite description \"
id=\"floatingTextarea2\" style=\"height: 100px\">{{ experience.resume }}</textarea>
<div class=\"absolute\" style=\"top: 8px;left: 11px;color: #a1a1a1;\">
<i class=\"bx bx-notepad text-2xl\"></i>
</div>
</div>
</div>
</div>
<div class=\"mb-3 row flex items-start text-sm\">
<p for=\"formrow-inputState\" class=\"form-label font-semibold col-3\">Type de coaching</p>
<div class=\"col-9 px-0\">
<div class=\"flex gap-2 justify-between\">
<div class=\"flex items-center ps-4 w-1/3 rounded dark:border-gray-700\">
<div class=\"form-check mb-3\">
<input {% if experience.coachingtype == 'private' %} checked{% endif %} class=\"form-check-input\" type=\"radio\" value=\"private\" name=\"coachingtype\"
id=\"formRadios1\" checked>
<label class=\"form-check-label\" for=\"formRadios1\">
Coaching Privé
</label>
</div>
</div>
<div class=\"flex items-center ps-4 w-1/3 rounded dark:border-gray-700\">
<div class=\"form-check mb-3\">
<input {% if experience.coachingtype == 'groupe' %} checked{% endif %} class=\"form-check-input\" type=\"radio\" value=\"groupe\" name=\"coachingtype\"
id=\"formRadios2\" >
<label class=\"form-check-label\" for=\"formRadios2\">
Coaching en groupe
</label>
</div>
</div>
<div class=\"flex items-center ps-4 w-1/3 rounded dark:border-gray-700\">
<div class=\"form-check mb-3\">
<input {% if experience.coachingtype == 'visio' %} checked{% endif %} class=\"form-check-input\" type=\"radio\" value=\"visio\" name=\"coachingtype\"
id=\"formRadios3\">
<label class=\"form-check-label\" for=\"formRadios3\">
Coaching par Visio
</label>
</div>
</div>
</div>
<p class=\"text-[10px] text-gray-600 my-2\">*Vous pouvez sélectionné un seul type de coaching.</p>
</div>
</div>
<div class=\"row\">
<div class=\"col-md-6\">
<div class=\"form-floating mb-3\">
<label class=\"form-label\">Destination</label>
<input hidden=\"\" type=\"text\" value=\"{{ experience.destination.country.id }}\" name=\"country\" >
<select required=\"\" name=\"destination\" class=\"form-select form-select6LG select2-tags\" id=\"floatingSelectGrid\" aria-label=\"Floating label select example\">
{% for destination in experience.destination.country.destinations %}
<option {% if destination.id == experience.destination.id %}selected=\"\"{% endif %} value=\"{{ destination.id }}\" >{{ destination.name }}</option>
{% endfor %}
</select>
</div>
</div>
<div class=\"col-md-6\">
<div class=\"form-floating mb-3\">
<label class=\"form-label\">Sous catégorie</label>
<select multiple=\"\" required=\"\" name=\"subcategories[]\" class=\"form-select form-select6LG select2\" id=\"floatingSelect\" aria-label=\"Floating label select example\">
{% for subcategory in experience.subcategories[0].category.subcategories %}
<option {% if subcategory in experience.subcategories %}selected=\"\"{% endif %} value=\"{{ subcategory.id }}\" >{{ subcategory.name }}</option>
{% endfor %}
</select>
</div>
</div>
</div>
<div class=\"divider mt-20 mb-3\"></div>
<div class=\"flex mt-4 row pt-3\">
<div class=\"col-md-6\">
<p class=\"text-xs text-gray-900 mb-2\">En cliquant sur le bouton d'enregistrement, vous mettez à jours les informations
enregistrer par ce formulaire </p>
</div>
<div class=\"col-md flex justify-end\">
<button type=\"button\" style=\" color: #ffaa00; border: 1px solid;\"
class=\"font-medium h-10 cursor-pointer py-2.5 rounded-lg text-center text-sm w-40 me-2\">
Annuler</button>
<button type=\"submit\" style=\" background: #ffaa00;\"
class=\"font-medium hover:bg-pri cursor-pointer mary-700 h-10 py-2.5 rounded-lg text-center text-sm text-white w-40\">
Enregistrer</button>
</div>
</div>
</div>
</div>
<!-- end card body -->
</div>
<!-- end card -->
</div>
<!-- end col -->
<!-- end col -->
</div>
</div> <!-- container-fluid -->
</form>
{% endblock %}
{% block javascripts %}
<!-- apexcharts -->
<script src=\"{{ asset('admin/libs/parsleyjs/parsley.min.js')}}\"></script>
<script src=\"{{ asset('admin/libs/select2/js/select2.min.js')}}\"></script>
<script src=\"{{ asset('admin/libs/bootstrap-maxlength/bootstrap-maxlength.min.js')}}\"></script>
<script src=\"{{ asset('admin/js/pages/form-validation.init.js')}}\"></script>
<script src=\"{{ asset('admin/js/app.js')}}\"></script>
<script>
/*
Template Name: Skote - Admin & Dashboard Template
Author: Themesbrand
Website: https://themesbrand.com/
Contact: themesbrand@gmail.com
File: Form Advanced Js File
*/
!function (\$) {
\"use strict\";
var AdvancedForm = function () { };
AdvancedForm.prototype.init = function () {
// Select2
if (\$('.select2').length > 0) {
\$(\".select2\").select2();
}
if (\$('.select2-tags').length > 0) {
\$(\".select2-tags\").select2({
tags: true
});
}
if (\$('.select2-limiting-3').length > 0) {
\$(\".select2-limiting-3\").select2({
maximumSelectionLength: 3
});
}
//Bootstrap-MaxLength
\$('input#defaultconfig').maxlength({
warningClass: \"badge bg-info\",
limitReachedClass: \"badge bg-warning\"
});
\$('input#thresholdconfig').maxlength({
threshold: 20,
warningClass: \"badge bg-info\",
limitReachedClass: \"badge bg-warning\"
});
\$('input#moreoptions').maxlength({
alwaysShow: true,
warningClass: \"badge bg-success\",
limitReachedClass: \"badge bg-danger\"
});
\$('input#alloptions').maxlength({
alwaysShow: true,
warningClass: \"badge bg-success\",
limitReachedClass: \"badge bg-danger\",
separator: ' out of ',
preText: 'You typed ',
postText: ' chars available.',
validate: true
});
\$('textarea#textarea').maxlength({
alwaysShow: true,
warningClass: \"badge bg-info\",
limitReachedClass: \"badge bg-warning\"
});
\$('input#placement').maxlength({
alwaysShow: true,
placement: 'top-left',
warningClass: \"badge bg-info\",
limitReachedClass: \"badge bg-warning\"
});
},
//init
\$.AdvancedForm = new AdvancedForm, \$.AdvancedForm.Constructor = AdvancedForm
}(window.jQuery),
//Datepicker
function (\$) {
\"use strict\";
\$.AdvancedForm.init();
}(window.jQuery);
</script>
{% endblock %}", "admin/experience/edit/editGeneralinfo.html.twig", "/home/bookoachroot/public_html/templates/admin/experience/edit/editGeneralinfo.html.twig");
}
}