<commit_before><% content_for :head do %>
    <title><%= t 'question.questions' %></title>
<% end %>


<% content_for :javascript_includes do %>
    <script type="text/javascript"
            src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCtWBCKJwtHq7ME82vk3d7eUsRknvzgrAQ&sensor=false&libraries=places">
    </script>
<% end %>

<div id="question_header">
  <div id="header_content">
    <div id="question_index_header">
      <%= form_for(@question) do |f| %>
          <%= f.hidden_field :country_code, :id => "country_code" %>
          <input id="lat" name="question[location][]" type="hidden" value="<%= @question.location[0] %>">
          <input id="lng" name="question[location][]" type="hidden" value="<%= @question.location[1] %>">

          <div class="field" id="question_creator" style="width:100%">
            <div id="questions_bubble">
              <%= f.text_field :title, :class => "header_question_field_box", :placeholder => t('question.placeholder_question') %>
              <span class="header_question_field_box" style="margin-left:5px;margin-right:8px;"><%= t('question.in') %></span>
              <%= f.text_field :city_name, :class => "header_question_field_box", :placeholder => t('question.placeholder_city'), :size => 20 %>
            </div>
            <%= f.submit :class => "submit", :style => "float:left;margin-top:30px;", :value => t("question.ask_question") %>
          </div>
      <% end %>
    </div>
  </div>
</div>

<div id="question_index">
  <% if @myQuestions.nil? %>
      <%= render :partial => "signup_prompt" %>
  <% elsif @myQuestions.count == 0 %>
      <%= render :partial => "ask_prompt" %>
  <% else %>
      <%= render :partial => "my_questions", :locals => {:myQuestions => @myQuestions} %>
  <% end %>
  <ul id="nearby_question_list">
    <div class="question_section_title"><%= t 'question.nearby_questions' %></div>
    <% @questions.each_with_index do |question, i| %>
        <hr class="questions">
        <li id="<%= question.id %>" class="place_answer <%= i %2==1 ? "" : "colored_place_row" %>">
          <%= render :partial => "question", :locals => {:question => question} %>
        </li>
    <% end %>

    <hr class="questions">
  </ul>

  <div class="question_clear"></div>
</div>

<% content_for :javascript do %><commit_msg>move the ask question box up a smidge<commit_after><% content_for :head do %>
    <title><%= t 'question.questions' %></title>
<% end %>


<% content_for :javascript_includes do %>
    <script type="text/javascript"
            src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCtWBCKJwtHq7ME82vk3d7eUsRknvzgrAQ&sensor=false&libraries=places">
    </script>
<% end %>

<div id="question_header">
  <div id="header_content">
    <div id="question_index_header">
      <%= form_for(@question) do |f| %>
          <%= f.hidden_field :country_code, :id => "country_code" %>
          <input id="lat" name="question[location][]" type="hidden" value="<%= @question.location[0] %>">
          <input id="lng" name="question[location][]" type="hidden" value="<%= @question.location[1] %>">

          <div class="field" id="question_creator" style="width:100%">
            <div id="questions_bubble">
              <%= f.text_field :title, :class => "header_question_field_box", :placeholder => t('question.placeholder_question') %>
              <span class="header_question_field_box" style="margin-left:5px;margin-right:8px;"><%= t('question.in') %></span>
              <%= f.text_field :city_name, :class => "header_question_field_box", :placeholder => t('question.placeholder_city'), :size => 20 %>
            </div>
            <%= f.submit :class => "submit", :style => "float:left;margin-top:28px;", :value => t("question.ask_question") %>
          </div>
      <% end %>
    </div>
  </div>
</div>

<div id="question_index">
  <% if @myQuestions.nil? %>
      <%= render :partial => "signup_prompt" %>
  <% elsif @myQuestions.count == 0 %>
      <%= render :partial => "ask_prompt" %>
  <% else %>
      <%= render :partial => "my_questions", :locals => {:myQuestions => @myQuestions} %>
  <% end %>
  <ul id="nearby_question_list">
    <div class="question_section_title"><%= t 'question.nearby_questions' %></div>
    <% @questions.each_with_index do |question, i| %>
        <hr class="questions">
        <li id="<%= question.id %>" class="place_answer <%= i %2==1 ? "" : "colored_place_row" %>">
          <%= render :partial => "question", :locals => {:question => question} %>
        </li>
    <% end %>

    <hr class="questions">
  </ul>

  <div class="question_clear"></div>
</div>

<% content_for :javascript do %>
{'fraction_non_alphanumeric': 0.20481927710843373, 'fraction_numerical': 0.008175559380378658, 'mean_word_length': 3.522373540856031, 'pattern_counts': {'":': 0, '<': 119, '<?xml version=': 0, '>': 153, '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': '7038853', 'n_tokens_mistral': 1684, 'n_tokens_neox': 1514, 'n_words': 283}