{% if currencies|length > 1 %}
  <form action="{{ action }}" method="post" enctype="multipart/form-data" id="form-currency">
      <ul class="list-inline text-center">
        {% for currency in currencies %}
        {% if currency.symbol_left %}
        <li>
          <button class="currency-select" type="button" name="{{ currency.code }}">{{ currency.symbol_left }}</button>
        </li>
        {% else %}
        <li>
          <button class="currency-select" type="button" name="{{ currency.code }}">{{ currency.symbol_right }}</button>
        </li>
        {% endif %}
        {% endfor %}
      </ul>
    <input type="hidden" name="code" value="" />
    <input type="hidden" name="redirect" value="{{ redirect }}" />
  </form>
{% endif %} 