Sha256: e9a76d6c99e0f1bab2622c651ae61be2a0d6b3966e1697eed905915eb5e02073

Contents?: true

Size: 480 Bytes

Versions: 2

Compression:

Stored size: 480 Bytes

Contents

<% if defined? retailers %>  
  <div class="retailers">
    <h3>Find <%= Spree::Config[:site_name] %> at the following retail locations:</h3>
    
    <div class="state-nav">
      <%= state_nav_helper %>
    </div>
    
    <% retailers.group_by(&:state).each do |state, state_retailers| %>
      <hr/>
      <h4 id="<%= state.downcase %>"><%= @states[state] %></h4>
      <%= render :partial => 'retailer', :collection => state_retailers %>
    <% end %>
    
  </div>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_retailers-0.50.0.0 app/views/retailers/_list.html.erb
spree_retailers-0.40.0.4 app/views/retailers/_list.html.erb