<?php

/* /home/hoteles9/public_html/hotelplazamagdalena/plugins/rainlab/translate/components/localepicker/default.htm */
class __TwigTemplate_4b8fc04c9622c67fdc321b957d29085cec4088743327223594f9f20525e7d0de extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        echo call_user_func_array($this->env->getFunction('form_open')->getCallable(), array("open"));
        echo "
    <select name=\"locale\" data-request=\"onSwitchLocale\" class=\"form-control\">
        ";
        // line 3
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["locales"]) ? $context["locales"] : null));
        foreach ($context['_seq'] as $context["code"] => $context["name"]) {
            // line 4
            echo "            <option value=\"";
            echo twig_escape_filter($this->env, $context["code"], "html", null, true);
            echo "\" ";
            echo ((($context["code"] == (isset($context["activeLocale"]) ? $context["activeLocale"] : null))) ? ("selected") : (""));
            echo ">";
            echo twig_escape_filter($this->env, $context["name"], "html", null, true);
            echo "</option>
        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['code'], $context['name'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 6
        echo "    </select>
";
        // line 7
        echo call_user_func_array($this->env->getFunction('form_close')->getCallable(), array("close"));
    }

    public function getTemplateName()
    {
        return "/home/hoteles9/public_html/hotelplazamagdalena/plugins/rainlab/translate/components/localepicker/default.htm";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  44 => 7,  41 => 6,  28 => 4,  24 => 3,  19 => 1,);
    }
}
/* {{ form_open() }}*/
/*     <select name="locale" data-request="onSwitchLocale" class="form-control">*/
/*         {% for code, name in locales %}*/
/*             <option value="{{ code }}" {{ code == activeLocale ? 'selected' }}>{{ name }}</option>*/
/*         {% endfor %}*/
/*     </select>*/
/* {{ form_close() }}*/
