<commit_before>  <script src='//google-maps-utility-library-v3.googlecode.com/svn/tags/markerclustererplus/2.0.14/src/markerclusterer_packed.js' type='text/javascript'></script>
  <script type="text/javascript"
    src="https://maps.googleapis.com/maps/api/js?key=<KEY>"></script>


  <div class="row">
    <div class="columns large-10">
      <h1>Map of Seattle Premier Attractions</h1>
      <h2></h2>
      <div style='width: 800px;'>
        <div id="map" style='width: 800px; height: 600px;'></div>
      </div>
    </div>
    <div class="columns large-2">

<h1>Attractions</h1>

<%= form_tag attractions_path, method: 'get' do %>
  <%= select_tag('location', options_from_collection_for_select(@locations, :id, :name, params[:location]), include_blank: true, onchange: 'this.form.submit()') %>
  <%= submit_tag 'submit', id: 'submit_location' %>
  <%= javascript_tag "$('#submit_location').hide()" %>
<% end %>

<table>
  <tbody>
    <% @attractions.each do |attraction| %>
      <tr>
        <td><%= attraction.name %></td>
        <td><%= attraction.address %></td>
        <td><%= link_to 'Show', attraction %></td>
        <td><%= link_to 'Edit', edit_attraction_path(attraction) %></td>
        <td><%= link_to 'New', new_attraction_path %></td>
        <td><%= link_to 'Destroy', attraction, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

    </div>
  </div>

    <script type="text/javascript">
    handler = Gmaps.build('Google');
    handler.buildMap({ provider: {}, internal: {id: 'map'}}, function(){
      markers = handler.addMarkers(<%= raw @markers_hash.to_json %>, {draggable: false});
      handler.bounds.extendWith(markers);
      handler.fitMapToBounds();
      handler.getMap().setZoom(13);
      handler.getMap().setCenter({lat: 47.606, lng: -122.332})
    });
    </script><commit_msg>Adjusted some code formatting<commit_after><script src='//google-maps-utility-library-v3.googlecode.com/svn/tags/markerclustererplus/2.0.14/src/markerclusterer_packed.js' type='text/javascript'></script>
<script type="text/javascript"
  src="https://maps.googleapis.com/maps/api/js?key=<KEY>">
</script>


<div class="row">
  <div class="columns large-10">
    <h1>Map of Seattle Premier Attractions</h1>
    <h2></h2>
    <div style='width: 800px;'>
      <div id="map" style='width: 800px; height: 600px;'></div>
    </div>
  </div>
  <div class="columns large-2">
    <h1>Attractions</h1>
    <%= form_tag attractions_path, method: 'get' do %>
      <%= select_tag('location', options_from_collection_for_select(@locations, :id, :name, params[:location]), include_blank: true, onchange: 'this.form.submit()') %>
      <%= submit_tag 'submit', id: 'submit_location' %>
      <%= javascript_tag "$('#submit_location').hide()" %>
    <% end %>

    <table>
      <tbody>
        <% @attractions.each do |attraction| %>
          <tr>
            <td><%= attraction.name %></td>
            <td><%= attraction.address %></td>
            <td><%= link_to 'Show', attraction %></td>
            <td><%= link_to 'Edit', edit_attraction_path(attraction) %></td>
            <td><%= link_to 'New', new_attraction_path %></td>
            <td><%= link_to 'Destroy', attraction, method: :delete, data: { confirm: 'Are you sure?' } %></td>
          </tr>
        <% end %>
      </tbody>
    </table>
  </div>
</div>

<script type="text/javascript">
handler = Gmaps.build('Google');
handler.buildMap({ provider: {}, internal: {id: 'map'}}, function(){
  markers = handler.addMarkers(<%= raw @markers_hash.to_json %>, {draggable: false});
  handler.bounds.extendWith(markers);
  handler.fitMapToBounds();
  handler.getMap().setZoom(13);
  handler.getMap().setCenter({lat: 47.606, lng: -122.332})
});
</script>
{'fraction_non_alphanumeric': 0.2066772655007949, 'fraction_numerical': 0.019077901430842606, 'mean_word_length': 3.570217917675545, 'pattern_counts': {'":': 0, '<': 113, '<?xml version=': 0, '>': 113, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6701966', 'n_tokens_mistral': 1393, 'n_tokens_neox': 1291, 'n_words': 248}