Sha256: dec6f3d030ed630356e128b29b5f892bf0dbc7607acecc9f9af14c2faeecaa5e
Contents?: true
Size: 960 Bytes
Versions: 7
Compression:
Stored size: 960 Bytes
Contents
<% set_title 'Location Directory - Search' %> <div id="map_canvas" style="border: solid black 1px; width: 100%; height: 300px"></div><br /> <%= render 'search_form' %><br style="clear: both;" /> <br style="clear: both;" /> <div id="directions_panel"></div> <% if @locations.empty? %> <p>No matching locations found. Please try again.</p> </em></p> <% else %> <h2><%= controller.searching_by_zip? ? 'Locations nearest' : "#{@locations.size} locations match" %> "<%= params[:criteria] %>"</h2> <% for @location in @locations %> <%= render 'shared/location' %> <% end %> <% end %> <br style="clear: both;" /> <%= render :partial => 'shared/map', :locals => {:locations => @locations, :place => Locale.us.first} %> <script type="text/javascript"> initializeMap(); $('#search-form')[0].addEventListener('submit', function (e) { window.location = '<%= directory_search_root_url %>/' + $('#search-input')[0].value; }, false); </script>
Version data entries
7 entries across 7 versions & 1 rubygems