<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* front/brand/brand.html.twig */
class __TwigTemplate_2e91bf17cb555b51978ab0847ac71d5e5d68f42aafb4050e9cc5618ae46893cf extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'linkcanonical' => [$this, 'block_linkcanonical'],
'cssadicional' => [$this, 'block_cssadicional'],
'classbody' => [$this, 'block_classbody'],
'content' => [$this, 'block_content'],
'jsfinal' => [$this, 'block_jsfinal'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "front/_common/_base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/brand/brand.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/brand/brand.html.twig"));
$this->parent = $this->loadTemplate("front/_common/_base.html.twig", "front/brand/brand.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_linkcanonical($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "linkcanonical"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "linkcanonical"));
// line 4
echo " <link rel=\"canonical\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("brand", ["slug" => twig_get_attribute($this->env, $this->source, (isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 4, $this->source); })()), "slug", [], "any", false, false, false, 4)])), "html", null, true);
echo "\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 7
public function block_cssadicional($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cssadicional"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cssadicional"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 9
public function block_classbody($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "classbody"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "classbody"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 11
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 12
echo " <section class=\"vw_man\">
<div class=\"vw_man_banner\" style=\"background-image: url('";
// line 13
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['App\Twig\ImagePathExtension']->path(twig_get_attribute($this->env, $this->source, (isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 13, $this->source); })()), "bannerImage", [], "any", false, false, false, 13))), "html", null, true);
echo "');\">
<div class=\"vw_man_container ww_center\">
<ul>
<li><a href=\"";
// line 16
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home");
echo "\">Inicio</a></li>
<li><span>/</span></li>
<li><a>Marcas</a></li>
<li><span>/</span></li>
<li><a class=\"active\">";
// line 20
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 20, $this->source); })()), "title", [], "any", false, false, false, 20), "html", null, true);
echo "</a></li>
</ul>
";
// line 22
if (twig_get_attribute($this->env, $this->source, (isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 22, $this->source); })()), "bannerText", [], "any", false, false, false, 22)) {
// line 23
echo " <h2>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 23, $this->source); })()), "bannerText", [], "any", false, false, false, 23), "html", null, true);
echo "</h2>
";
}
// line 25
echo " ";
if (((twig_get_attribute($this->env, $this->source, (isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 25, $this->source); })()), "bannerButtonShow", [], "any", false, false, false, 25) && twig_get_attribute($this->env, $this->source, (isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 25, $this->source); })()), "bannerButtonText", [], "any", false, false, false, 25)) && twig_get_attribute($this->env, $this->source, (isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 25, $this->source); })()), "bannerButtonLink", [], "any", false, false, false, 25))) {
// line 26
echo " <div class=\"vw_man_btn\">
<a class=\"btn btn_lightblue btn_icon\" href=\"";
// line 27
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 27, $this->source); })()), "bannerButtonLink", [], "any", false, false, false, 27), "html", null, true);
echo "\" target=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\UrlTarget']->target(twig_get_attribute($this->env, $this->source, (isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 27, $this->source); })()), "bannerButtonTarget", [], "any", false, false, false, 27)), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 27, $this->source); })()), "bannerButtonText", [], "any", false, false, false, 27), "html", null, true);
echo "<span class=\"icon-Group\"></span></a>
</div>
";
}
// line 30
echo " </div>
</div>
";
// line 32
if (twig_get_attribute($this->env, $this->source, (isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 32, $this->source); })()), "detailShow", [], "any", false, false, false, 32)) {
// line 33
echo " <div class=\"vw_man_info ww_center\">
<h3>";
// line 34
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 34, $this->source); })()), "detailTitle", [], "any", false, false, false, 34), "html", null, true);
echo "</h3>
";
// line 35
echo twig_get_attribute($this->env, $this->source, (isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 35, $this->source); })()), "detailText", [], "any", false, false, false, 35);
echo "
</div>
";
}
// line 38
echo " </section>
";
// line 40
if ((twig_get_attribute($this->env, $this->source, (isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 40, $this->source); })()), "featuresShow", [], "any", false, false, false, 40) && (1 === twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 40, $this->source); })()), "featuresItems", [], "any", false, false, false, 40)), 0)))) {
// line 41
echo " <section class=\"vw_man_tab\">
<div class=\"vw_man_tab_row ww_center\">
<div class=\"vw_man_wrap_nav\">
<div class=\"vw_man_tab_nav\">
";
// line 45
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 45, $this->source); })()), "featuresItems", [], "any", false, false, false, 45));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 46
echo " <a class=\"vwman_tab\" onclick=\"tabNav(event, 'tab-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 46), "html", null, true);
echo "')\" href=\"\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 46), "html", null, true);
echo "</a>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 48
echo " </div>
</div>
<div class=\"vw_man_tab_wrap\">
";
// line 51
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 51, $this->source); })()), "featuresItems", [], "any", false, false, false, 51));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 52
echo " <div class=\"vw_man_itm\" id=\"tab-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 52), "html", null, true);
echo "\">
<div class=\"vw_man_tab_info\">
<h2>";
// line 54
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 54), "html", null, true);
echo "</h2>
<p>";
// line 55
echo twig_get_attribute($this->env, $this->source, $context["item"], "text", [], "any", false, false, false, 55);
echo "</p>
</div>
<figure>
<img src=\"";
// line 58
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['App\Twig\ImagePathExtension']->path(twig_get_attribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 58))), "html", null, true);
echo "\" width=\"\" height=\"\" alt=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\SplitAltExtension']->alt(twig_get_attribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 58)), "html", null, true);
echo "\">
</figure>
</div>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 62
echo " </div>
</div>
</section>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 68
public function block_jsfinal($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "jsfinal"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "jsfinal"));
// line 69
echo " <script type=\"text/javascript\">
function tabNav(evt, element) {
evt.preventDefault();
var i, tabcontent, tablinks;
tabcontent = document.getElementsByClassName(\"vw_man_itm\");
for (i = 0; i < tabcontent.length; i++) {
tabcontent[i].classList.remove('active');
}
tablinks = document.getElementsByClassName(\"vwman_tab\");
for (i = 0; i < tablinks.length; i++) {
tablinks[i].className = tablinks[i].className.replace(\" active\", \"\");
}
document.getElementById(element).classList.add('active')
evt.currentTarget.className += \" active\";
}
document.querySelectorAll('.vwman_tab')[0].click();
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "front/brand/brand.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 325 => 69, 315 => 68, 301 => 62, 281 => 58, 275 => 55, 271 => 54, 265 => 52, 248 => 51, 243 => 48, 224 => 46, 207 => 45, 201 => 41, 199 => 40, 195 => 38, 189 => 35, 185 => 34, 182 => 33, 180 => 32, 176 => 30, 166 => 27, 163 => 26, 160 => 25, 154 => 23, 152 => 22, 147 => 20, 140 => 16, 134 => 13, 131 => 12, 121 => 11, 103 => 9, 85 => 7, 72 => 4, 62 => 3, 39 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"front/_common/_base.html.twig\" %}
{% block linkcanonical %}
<link rel=\"canonical\" href=\"{{ absolute_url(path('brand', {'slug': brand.slug})) }}\">
{% endblock %}
{% block cssadicional %}{% endblock %}
{% block classbody %}{% endblock %}
{% block content %}
<section class=\"vw_man\">
<div class=\"vw_man_banner\" style=\"background-image: url('{{ asset(brand.bannerImage|image_path) }}');\">
<div class=\"vw_man_container ww_center\">
<ul>
<li><a href=\"{{ path('home') }}\">Inicio</a></li>
<li><span>/</span></li>
<li><a>Marcas</a></li>
<li><span>/</span></li>
<li><a class=\"active\">{{ brand.title }}</a></li>
</ul>
{% if brand.bannerText %}
<h2>{{ brand.bannerText }}</h2>
{% endif %}
{% if brand.bannerButtonShow and brand.bannerButtonText and brand.bannerButtonLink %}
<div class=\"vw_man_btn\">
<a class=\"btn btn_lightblue btn_icon\" href=\"{{ brand.bannerButtonLink }}\" target=\"{{ brand.bannerButtonTarget|url_target }}\">{{ brand.bannerButtonText }}<span class=\"icon-Group\"></span></a>
</div>
{% endif %}
</div>
</div>
{% if brand.detailShow %}
<div class=\"vw_man_info ww_center\">
<h3>{{ brand.detailTitle }}</h3>
{{ brand.detailText|raw }}
</div>
{% endif %}
</section>
{% if brand.featuresShow and brand.featuresItems|length > 0 %}
<section class=\"vw_man_tab\">
<div class=\"vw_man_tab_row ww_center\">
<div class=\"vw_man_wrap_nav\">
<div class=\"vw_man_tab_nav\">
{% for item in brand.featuresItems %}
<a class=\"vwman_tab\" onclick=\"tabNav(event, 'tab-{{ loop.index }}')\" href=\"\">{{ item.title }}</a>
{% endfor %}
</div>
</div>
<div class=\"vw_man_tab_wrap\">
{% for item in brand.featuresItems %}
<div class=\"vw_man_itm\" id=\"tab-{{ loop.index }}\">
<div class=\"vw_man_tab_info\">
<h2>{{ item.title }}</h2>
<p>{{ item.text|raw }}</p>
</div>
<figure>
<img src=\"{{ asset(item.image|image_path) }}\" width=\"\" height=\"\" alt=\"{{ item.image|split_alt }}\">
</figure>
</div>
{% endfor %}
</div>
</div>
</section>
{% endif %}
{% endblock %}
{% block jsfinal %}
<script type=\"text/javascript\">
function tabNav(evt, element) {
evt.preventDefault();
var i, tabcontent, tablinks;
tabcontent = document.getElementsByClassName(\"vw_man_itm\");
for (i = 0; i < tabcontent.length; i++) {
tabcontent[i].classList.remove('active');
}
tablinks = document.getElementsByClassName(\"vwman_tab\");
for (i = 0; i < tablinks.length; i++) {
tablinks[i].className = tablinks[i].className.replace(\" active\", \"\");
}
document.getElementById(element).classList.add('active')
evt.currentTarget.className += \" active\";
}
document.querySelectorAll('.vwman_tab')[0].click();
</script>
{% endblock %}
", "front/brand/brand.html.twig", "/mnt/volume_nyc1_01/webapps/eurocamiones/templates/front/brand/brand.html.twig");
}
}