<?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/add/addHighlights.html.twig */
class __TwigTemplate_d345a0f5eeb395877b3951a96592a441 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/add/addHighlights.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/add/addHighlights.html.twig"));
$this->parent = $this->loadTemplate("admin/baseAdmin.html.twig", "admin/experience/add/addHighlights.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 "Lister les ponits fort ";
$__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 "Points fort";
$__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/add/addHighlights.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("add_highlights", ["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=\"bar-top sm:flex block gap-2 bg-white p-2 pb-3 mb-8 text-uppercase rounded-2xl flex-wrap border-b border-gray-200\">
<h3 class=\"text-sm cursor-pointer hover:text-orange pt-2 \" id=\"general-info\">General Info</h3>
<span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
<h3 class=\"text-sm cursor-pointer hover:text-orange pt-2 \" id=\"gallery\">Hébergement</h3>
<span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
<h3 class=\"text-sm cursor-pointer hover:text-orange pt-2 \" id=\"gallery\">Gallery</h3>
<span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
<h3 class=\"text-sm cursor-pointer hover:text-orange pt-2 \" id=\"itineraire\">Programme</h3>
<span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
<h3 class=\"text-sm cursor-pointer hover:text-orange pt-2 \" id=\"highlights\">Description</h3>
<span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
<h3 class=\"text-sm cursor-pointer hover:text-orange pt-2 \" id=\"dispo\">Disponibilité</h3>
<span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
<h3 class=\"text-sm cursor-pointer hover:text-orange pt-2 \" id=\"disponibilite\">Tarification</h3>
<span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
<h3 class=\"text-sm cursor-pointer hover:text-orange pt-2 active-nav\" id=\"faq\">Points Forts</h3>
</div>
<div class=\"sm:p-4 p-2 pb-0 pt-1\" id=\"myform2\">
<div class=\"row\">
<div class=\"col-md-6\">
<div class=\"form-floating mb-3\">
<label class=\"form-label\">Destination</label>
<select required=\"\" name=\"destination\" class=\"form-select form-select6LG select2-tags\" id=\"floatingSelectGrid\" aria-label=\"Floating label select example\">
";
// line 47
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(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.', 47, $this->source); })()), "destinations", [], "any", false, false, false, 47));
foreach ($context['_seq'] as $context["_key"] => $context["destination"]) {
// line 48
yield " <option value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["destination"], "id", [], "any", false, false, false, 48), "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, 48), "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 50
yield " </select>
</div>
</div>
<div class=\"col-md-6\">
<div class=\"form-floating mb-3\">
<label class=\"form-label\">Sous catégorie</label>
<select required=\"\" name=\"subcategory\" class=\"form-select form-select6LG select2\" id=\"floatingSelect\" aria-label=\"Floating label select example\">
";
// line 57
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 57, $this->source); })()), "subcategories", [], "any", false, false, false, 57));
foreach ($context['_seq'] as $context["_key"] => $context["subcategory"]) {
// line 58
yield " <option value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["subcategory"], "id", [], "any", false, false, false, 58), "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, 58), "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 60
yield " </select>
</div>
</div>
</div>
<h5 class=\"text-lg font-semibold mt-5 \">Points Forts</h5>
<p class=\"text-gray-700 text-sm\">Ajouter les points forts qui marque votre expérience. </p>
<div class=\"divider w-2/6 mt-1 mb-5\"></div>
<div id=\"faq-forms\">
<div class=\"row mb-4 text-sm highlight-block \">
<div class=\"flex items-center\">
<div class=\"relative col-8 flex\">
<input required=\"\" type=\"text\" id=\"highlight1\" name=\"highlights[]\"
class=\"form-control form-control-lg sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 ps-5\"
placeholder=\"Points fort \">
<div class=\"absolute\" style=\"top: 7px;left: 6px;color: #a1a1a1;\">
<i class=\"bx bx-list-check\" style=\"font-size: 29px;\"></i>
</div>
<div class=\"h-6 rounded cursor-pointer ps-2 delete-icon\"><i class=\"bx bx-x-circle text-2xl\"></i></div>
</div>
</div>
</div>
</div>
<div id=\"add-faq\" class=\"mt-4 py-2 flex items-center justify-end gap-2 rounded cursor-pointer \">
<p class=\"text-base m-0 font-semibold\">Ajouter</p>
<i class=\"bx bx-plus-circle text-orange text-2xl\"></i>
</div>
</div>
</div>
<!-- end card body -->
</div>
<!-- end card -->
</div>
<!-- end col -->
<div class=\"row\">
<div class=\"col-lg-12\">
<div class=\"card\">
<div class=\"card-body\">
<div class=\"flex mt-4 row\">
<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=\"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\">
Annuler</button>
<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>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- end col -->
</div>
</div> <!-- container-fluid -->
</form>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 128
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 129
yield " <!-- apexcharts -->
<script src=\"";
// line 130
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 131
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 132
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 134
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 136
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 src=\"";
// line 137
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/js/pages/Highlights.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/add/addHighlights.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 378 => 137, 374 => 136, 369 => 134, 364 => 132, 360 => 131, 356 => 130, 353 => 129, 343 => 128, 265 => 60, 254 => 58, 250 => 57, 241 => 50, 230 => 48, 226 => 47, 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 %}Lister les ponits fort {% endblock %}
{% block breadcump_main %}Experiences{% endblock %}
{% block breadcump_subtitle %}Points fort{% 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('add_highlights',{'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=\"bar-top sm:flex block gap-2 bg-white p-2 pb-3 mb-8 text-uppercase rounded-2xl flex-wrap border-b border-gray-200\">
<h3 class=\"text-sm cursor-pointer hover:text-orange pt-2 \" id=\"general-info\">General Info</h3>
<span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
<h3 class=\"text-sm cursor-pointer hover:text-orange pt-2 \" id=\"gallery\">Hébergement</h3>
<span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
<h3 class=\"text-sm cursor-pointer hover:text-orange pt-2 \" id=\"gallery\">Gallery</h3>
<span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
<h3 class=\"text-sm cursor-pointer hover:text-orange pt-2 \" id=\"itineraire\">Programme</h3>
<span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
<h3 class=\"text-sm cursor-pointer hover:text-orange pt-2 \" id=\"highlights\">Description</h3>
<span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
<h3 class=\"text-sm cursor-pointer hover:text-orange pt-2 \" id=\"dispo\">Disponibilité</h3>
<span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
<h3 class=\"text-sm cursor-pointer hover:text-orange pt-2 \" id=\"disponibilite\">Tarification</h3>
<span class=\"border-r mx-2 h-6 hidden sm:flex\"></span>
<h3 class=\"text-sm cursor-pointer hover:text-orange pt-2 active-nav\" id=\"faq\">Points Forts</h3>
</div>
<div class=\"sm:p-4 p-2 pb-0 pt-1\" id=\"myform2\">
<div class=\"row\">
<div class=\"col-md-6\">
<div class=\"form-floating mb-3\">
<label class=\"form-label\">Destination</label>
<select required=\"\" name=\"destination\" class=\"form-select form-select6LG select2-tags\" id=\"floatingSelectGrid\" aria-label=\"Floating label select example\">
{% for destination in country.destinations %}
<option 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 required=\"\" name=\"subcategory\" class=\"form-select form-select6LG select2\" id=\"floatingSelect\" aria-label=\"Floating label select example\">
{% for subcategory in category.subcategories %}
<option value=\"{{ subcategory.id }}\" >{{ subcategory.name }}</option>
{% endfor %}
</select>
</div>
</div>
</div>
<h5 class=\"text-lg font-semibold mt-5 \">Points Forts</h5>
<p class=\"text-gray-700 text-sm\">Ajouter les points forts qui marque votre expérience. </p>
<div class=\"divider w-2/6 mt-1 mb-5\"></div>
<div id=\"faq-forms\">
<div class=\"row mb-4 text-sm highlight-block \">
<div class=\"flex items-center\">
<div class=\"relative col-8 flex\">
<input required=\"\" type=\"text\" id=\"highlight1\" name=\"highlights[]\"
class=\"form-control form-control-lg sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 ps-5\"
placeholder=\"Points fort \">
<div class=\"absolute\" style=\"top: 7px;left: 6px;color: #a1a1a1;\">
<i class=\"bx bx-list-check\" style=\"font-size: 29px;\"></i>
</div>
<div class=\"h-6 rounded cursor-pointer ps-2 delete-icon\"><i class=\"bx bx-x-circle text-2xl\"></i></div>
</div>
</div>
</div>
</div>
<div id=\"add-faq\" class=\"mt-4 py-2 flex items-center justify-end gap-2 rounded cursor-pointer \">
<p class=\"text-base m-0 font-semibold\">Ajouter</p>
<i class=\"bx bx-plus-circle text-orange text-2xl\"></i>
</div>
</div>
</div>
<!-- end card body -->
</div>
<!-- end card -->
</div>
<!-- end col -->
<div class=\"row\">
<div class=\"col-lg-12\">
<div class=\"card\">
<div class=\"card-body\">
<div class=\"flex mt-4 row\">
<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=\"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\">
Annuler</button>
<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>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 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 src=\"{{ asset('admin/js/pages/Highlights.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/add/addHighlights.html.twig", "/home/bookoachroot/public_html/templates/admin/experience/add/addHighlights.html.twig");
}
}