<commit_before><div class="row">


  <div class="col-xs-6" >
    <% if !@error %>
    <p>
      Your location is: <br>
      Lat: <%= @place.lat %> <br>
      Lon: <%= @place.lon %>

    </p>
    <p>
      You're going to eat at:<b> <%=  @place.name %></b> <br>
      Rating: <%=  @place.rating %> / 5 <br>
      Phone number: <%=  @place.phone_number %> <br>
      Address: <%= @place.address %> <br>
      <% if @open_now.eql?("Open now") %>
        <%= @periods %><br>
        <font size="3" color="green">Open now</font><br>
      <% elsif @open_now.eql?("Closed")  %>
        <font color="red">Closed</font><br>
      <% end %>
    </p>

    <div class="Flexible-container">
      <iframe class="map" frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/search?key=AIzaSyB3xKb4v0cK805_F1ApSX0Os0KS-XzDoO4&q=+<%=  @place.address.gsub(' ','+') %>"></iframe>
    </div>
    <% else %>
        <p>
         You denied us access to your location! Select one from right ->

        </p>
    <% end %>

  </div>
  <div class="col-xs-6">

      <h2>Where do you wanna eat?</h2>
      <img width="150" height="150" onclick="getLocation()" src="https://cdn2.iconfinder.com/data/icons/windows-8-metro-style/512/define_location.png" alt="Get Geolocation"/>

    <form name="myform" method="post" action="./places">
        <input type="text" name="locationinput" placeholder="Search City, State, or Zip"><br><commit_msg>fixed restaurant.erb problems<commit_after><div class="row">


  <div class="col-xs-6" >
    <% if !@error %>
    <p>
      Your location is: <br>
      Lat: <%= @place.lat %> <br>
      Lon: <%= @place.lon %>

    </p>
    <p>
      You're going to eat at:<b> <%=  @place.name %></b> <br>
      Rating: <%=  @place.rating %> / 5 <br>
      Phone number: <%=  @place.phone_number %> <br>
      Address: <%= @place.address %> <br>

      <% if @place.open_now.eql?("Open now") %>
        <%= @place.periods %><br>
        <font size="3" color="green">Open now</font><br>
      <% elsif @place.open_now.eql?("Closed")  %>
        <font color="red">Closed</font><br>
      <% end %>
    </p>

    <div class="Flexible-container">
      <iframe class="map" frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/search?key=AIzaSyB3xKb4v0cK805_F1ApSX0Os0KS-XzDoO4&q=+<%=  @place.address.gsub(' ','+') %>"></iframe>
    </div>
    <% else %>
        <p>
         You denied us access to your location! Select one from right ->

        </p>
    <% end %>

  </div>
  <div class="col-xs-6">

      <h2>Where do you wanna eat?</h2>
      <img width="150" height="150" onclick="getLocation()" src="https://cdn2.iconfinder.com/data/icons/windows-8-metro-style/512/define_location.png" alt="Get Geolocation"/>

    <form name="myform" method="post" action="./places">
        <input type="text" name="locationinput" placeholder="Search City, State, or Zip"><br>
{'fraction_non_alphanumeric': 0.2134251290877797, 'fraction_numerical': 0.020654044750430294, 'mean_word_length': 2.8136482939632548, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 0, '>': 103, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '5176928', 'n_tokens_mistral': 1168, 'n_tokens_neox': 1052, 'n_words': 211}