<commit_before><% content_for :stylesheet_yield do %>
  <link rel="stylesheet" href="http://code.leafletjs.com/leaflet-0.3.1/leaflet.css">
  <link rel="stylesheet" href="http://code.leafletjs.com/leaflet-0.3.1/leaflet.ie.css">

<% end %>

<!--<div id="map-main">-->
<!--  <div id="map-content-top">

  </div>
-->
  <% if @coordinates %>
  <div>
    <div class="controls">
        <div class="input-append">
            <%= form_tag("/map", :method=> "post") do%>
                <%= text_field_tag(:q, nil,  :value => @address_str,  :class => 'form-inline input-xx-large') %><%= submit_tag("Go", :class => 'btn btn-info btn') %>
            <% end %>
        </div>
    </div>
<!-- div that will display the map that is set using below javascript -->
    <div id="map"></div>
   <div id="warnings"  style="display: none;">
          <h4>National Weather Service Warnings In Your Area</h4>
          <% @warnings.each do |w| -%>
            <%= w.css("title").text -%>
            <%= "Summary: " + w.css("summary").text -%>
            <%= "Urgency: " + w.css("urgency").text -%>
            <%= "Severity: " + w.css("severity").text -%>
            <%= "Certainty: " + w.css("certainty").text -%>
            <%= "Affected counties: " + w.css("areaDesc").text -%>
            <br />
            <hr />
          <% end %>
        </div>
    <div class="detail-col">
        <table>
            <thead>
                <td><h4><%= @address.address %></h4>
                <hr></hr></td>
                
            </thead>
            <tr>
                <td class="risk risk-title">Risk of this location:</td>
            </tr>
            <tr>
                <% if @risk_level %>    
                  <td class="risk risk-<%= @risk_level %>"><%= @risk_text %>
                  </td>
                <% else %>
                  <td class="risk">No risk data is available at this location</td>
                <% end %>
            </tr>
            <tr>
                <td class="note">
                    <a href="#" id="map-pop" data-content="<strong> About Risk Level </strong><br>The risk level is supplied by the Texas Forest Service Wildfire Risk Assessment <commit_msg>Improved the view of the warnings a bit<commit_after><% content_for :stylesheet_yield do %>
  <link rel="stylesheet" href="http://code.leafletjs.com/leaflet-0.3.1/leaflet.css">
  <link rel="stylesheet" href="http://code.leafletjs.com/leaflet-0.3.1/leaflet.ie.css">

<% end %>

<!--<div id="map-main">-->
<!--  <div id="map-content-top">

  </div>
-->
  <% if @coordinates %>
  <div>
    <div class="controls">
        <div class="input-append">
            <%= form_tag("/map", :method=> "post") do%>
                <%= text_field_tag(:q, nil,  :value => @address_str,  :class => 'form-inline input-xx-large') %><%= submit_tag("Go", :class => 'btn btn-info btn') %>
            <% end %>
        </div>
    </div>
<!-- div that will display the map that is set using below javascript -->
    <div id="map"></div>
   <div id="warnings"  style="display: none;">
          <p><h4>National Weather Service Warnings In Your Area</h4></p>
          <% @warnings.each do |w| -%>
            <%= w.css("title").text -%><br />
            <strong>Summary: </strong> <%= w.css("summary").text -%><br />
            <strong>Urgency: </strong> <%= w.css("urgency").text -%><br />
            <strong>Severity: </strong> <%= w.css("severity").text -%><br />
            <strong>Certainty: </strong> <%= w.css("certainty").text -%><br />
            <strong>Affected counties: </strong> <%= w.css("areaDesc").text -%><br />
            <br />
            <hr />
          <% end %>
        </div>
    <div class="detail-col">
        <table>
            <thead>
                <td><h4><%= @address.address %></h4>
                <hr></hr></td>
                
            </thead>
            <tr>
                <td class="risk risk-title">Risk of this location:</td>
            </tr>
            <tr>
                <% if @risk_level %>    
                  <td class="risk risk-<%= @risk_level %>"><%= @risk_text %>
                  </td>
                <% else %>
                  <td class="risk">No risk data is available at this location</td>
                <% end %>
            </tr>
            <tr>
                <td class="note">
                    <a href="#" id="map-pop" data-content="<strong> About Risk Level </strong><br>The risk level is supplied by the Texas Forest Service Wildfire Risk Assessment 
{'fraction_non_alphanumeric': 0.19862405681313805, 'fraction_numerical': 0.004438526409232135, 'mean_word_length': 1.7398176291793312, 'pattern_counts': {'":': 0, '<': 157, '<?xml version=': 0, '>': 163, 'https://': 0, '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': '7559321', 'n_tokens_mistral': 1526, 'n_tokens_neox': 1387, 'n_words': 312}