<?php

/* mart/template/common/currency.twig */
class __TwigTemplate_96630e59dafdac636ec138751e520dfde3a9a4e7742b835cb891b9bd86c4a0ea 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
        if ((twig_length_filter($this->env, (isset($context["currencies"]) ? $context["currencies"] : null)) > 1)) {
            // line 2
            echo "<h3>";
            echo (isset($context["text_currency"]) ? $context["text_currency"] : null);
            echo "</h3>
<form action=\"";
            // line 3
            echo (isset($context["action"]) ? $context["action"] : null);
            echo "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-currency\">
  <ul class=\"list-unstyled\">
    ";
            // line 5
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["currencies"]) ? $context["currencies"] : null));
            foreach ($context['_seq'] as $context["_key"] => $context["currency"]) {
                // line 6
                echo "    ";
                if ($this->getAttribute($context["currency"], "symbol_left", array())) {
                    // line 7
                    echo "    <li><a href=\"";
                    echo $this->getAttribute($context["currency"], "code", array());
                    echo "\" class=\"currency-select\">";
                    echo $this->getAttribute($context["currency"], "code", array());
                    echo "</a></li>
    ";
                } else {
                    // line 9
                    echo "    <li><a href=\"";
                    echo $this->getAttribute($context["currency"], "code", array());
                    echo "\" class=\"currency-select\">";
                    echo $this->getAttribute($context["currency"], "code", array());
                    echo "</a></li>
    ";
                }
                // line 11
                echo "    ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['currency'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 12
            echo "  </ul>
  <input type=\"hidden\" name=\"code\" value=\"\" />
  <input type=\"hidden\" name=\"redirect\" value=\"";
            // line 14
            echo (isset($context["redirect"]) ? $context["redirect"] : null);
            echo "\" />
</form>
";
        }
    }

    public function getTemplateName()
    {
        return "mart/template/common/currency.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  64 => 14,  60 => 12,  54 => 11,  46 => 9,  38 => 7,  35 => 6,  31 => 5,  26 => 3,  21 => 2,  19 => 1,);
    }
}
/* {% if currencies|length > 1 %}*/
/* <h3>{{ text_currency}}</h3>*/
/* <form action="{{ action }}" method="post" enctype="multipart/form-data" id="form-currency">*/
/*   <ul class="list-unstyled">*/
/*     {% for currency in currencies %}*/
/*     {% if currency.symbol_left %}*/
/*     <li><a href="{{ currency.code }}" class="currency-select">{{ currency.code }}</a></li>*/
/*     {% else %}*/
/*     <li><a href="{{ currency.code }}" class="currency-select">{{ currency.code }}</a></li>*/
/*     {% endif %}*/
/*     {% endfor %}*/
/*   </ul>*/
/*   <input type="hidden" name="code" value="" />*/
/*   <input type="hidden" name="redirect" value="{{ redirect }}" />*/
/* </form>*/
/* {% endif %}*/
/* */
