Sha256: c9b6faecc90df001d4b0fcb35d2e6e95ae840693c17ca0997ff8aa283d727f52

Contents?: true

Size: 679 Bytes

Versions: 4

Compression:

Stored size: 679 Bytes

Contents

<div id="map-side-bar">
  <% if @map_locations.empty? %>
    <p>No locations found near <strong><%= params[:q] %></strong></p>
  <% else %>
    <% @map_locations.each do |loc| %>
      <div class="map-location" data-jmapping="{id: <%= loc.id %>, point: {lat: <%= loc.lat %>, lng: <%= loc.lng %>}}">
        <a href="#" class="map-link"><%= loc.title %></a>
        <div class="info-box">
          <p><%= loc.title %></p>
          <p>
            <%= loc.address %><br/>
            <%= loc.city %>, <%= loc.state %> <%= loc.zipcode %>
          </p>
          <p><%= loc.phone %></p>
          <p><%= loc.url %></p>
        </div>
      </div>
    <% end %>
  <% end %>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
refinerycms-map-0.2.0 app/views/map_locations/_locations.html.erb
refinerycms-map-0.1.0 app/views/map_locations/_locations.html.erb
refinerycms-map-0.0.3 app/views/map_locations/_locations.html.erb
refinerycms-map-0.0.2 app/views/map_locations/_locations.html.erb