Sha256: b71e8651f01e5c0145a2f24e3ae68a634ec356eae8a0803a9c840f2d64da284c

Contents?: true

Size: 591 Bytes

Versions: 1

Compression:

Stored size: 591 Bytes

Contents

<% if defined?(should_render_currency_dropdown?) && should_render_currency_dropdown? %>
  <%= form_tag spree.set_currency_path, method: :get, class: 'px-4 py-3 w-100', id: 'currency-select' do %>
    <div class="form-group">
      <label for="switch_to_currency" class="dropdown-header text-center">
        <%= Spree.t(:choose_currency) %>
      </label>
      <%= select_tag(:switch_to_currency,
        options_for_select(supported_currency_options, current_currency),
        class: 'custom-select w-100') %>
      <noscript><%= submit_tag %></noscript>
    </div>
  <% end %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_frontend-4.2.0 app/views/spree/shared/_currency_dropdown.html.erb