{% if currencies|length > 1 %}
<form action="{{ action }}" method="post" enctype="multipart/form-data" id="form-currency">
<select name="code" class="noselect" onchange="$('#form-currency').submit()">
{% for currency in currencies %}
<option value="{{ currency.code }}" {{ currency.code == code ? 'selected="selected"' }}>{{ currency.code }}</option>
{% endfor %}
</select>
<input type="hidden" name="redirect" value="{{ redirect }}" />
</form>
{% endif %}
