<commit_before><% view_cache :ttl => 5.minutes, :tag => I18n.locale do %>


  <div class="frontpage-box" id="frontpage-box-1">
   <%= render :partial => 'frontpage_intro_sentence'  %>
  </div>

  <div class="frontpage-box" id="frontpage-box-2">
    <div id="bighand">
    Make a new <strong>Freedom of Information</strong> request
     <br />
     <a href="http://127.0.0.1:3000/en/new/tgq"><img alt="Start-button" src="http://127.0.0.1:3000/images/start-button.png?1314013338"></a>
     </div>
  </div>

  <div class="frontpage-box" id="frontpage-box-3">
    <div id="littlehand">
    Search over <strong><%= InfoRequest.count %> requests</strong> and <strong><%= PublicBody.count %> authorities</strong>:
    <% form_tag({:action => "search_redirect"}, {:id => "search_form"}) do %>
           <%= text_field_tag 'query', params[:query], { :size => 30 } %>
           <%= hidden_field_tag 'bodies', 1 %>
           <%= image_submit_tag 'button-search.png', :title => 'Search' %>
           <br>
           <%= _('e.g.') %>
	   <% @search_examples.each_with_index do |name, i| %>
             <%=link_to name, search_url(name, 'bodies')%><% if i < 2 %>, <% else %>. <% break %><% end %>
	   <% end %>
    <% end %>
    </div>
  </div>


<div id="frontpage_examples">
    <% if @popular_bodies.size > 0 %>
      <div id="examples_0">
	<h3>Who has the information?</h3>
	<%= site_name %> covers requests to <%= PublicBody.count %> authorities, including:
	<ul>
            <% for popular_body in @popular_bodies %>
                <li><%=public_body_link(popular_body)%>
                 <%= n_('%d request', '%d requests', popular_body.info_requests.count) % popular_body.info_requests.count %>
                </li>
            <% end%><commit_msg>Fix start button in homepage<commit_after><% view_cache :ttl => 5.minutes, :tag => I18n.locale do %>


  <div class="frontpage-box" id="frontpage-box-1">
   <%= render :partial => 'frontpage_intro_sentence'  %>
  </div>

  <div class="frontpage-box" id="frontpage-box-2">
    <div id="bighand">
    Make a new <strong>Freedom of Information</strong> request
     <br />
     <a href="/select_authority"><img alt="Start-button" src="/images/start-button.png?1314013338"></a>
     </div>
  </div>

  <div class="frontpage-box" id="frontpage-box-3">
    <div id="littlehand">
    Search over <strong><%= InfoRequest.count %> requests</strong> and <strong><%= PublicBody.count %> authorities</strong>:
    <% form_tag({:action => "search_redirect"}, {:id => "search_form"}) do %>
           <%= text_field_tag 'query', params[:query], { :size => 30 } %>
           <%= hidden_field_tag 'bodies', 1 %>
           <%= image_submit_tag 'button-search.png', :title => 'Search' %>
           <br>
           <%= _('e.g.') %>
	   <% @search_examples.each_with_index do |name, i| %>
             <%=link_to name, search_url(name, 'bodies')%><% if i < 2 %>, <% else %>. <% break %><% end %>
	   <% end %>
    <% end %>
    </div>
  </div>


<div id="frontpage_examples">
    <% if @popular_bodies.size > 0 %>
      <div id="examples_0">
	<h3>Who has the information?</h3>
	<%= site_name %> covers requests to <%= PublicBody.count %> authorities, including:
	<ul>
            <% for popular_body in @popular_bodies %>
                <li><%=public_body_link(popular_body)%>
                 <%= n_('%d request', '%d requests', popular_body.info_requests.count) % popular_body.info_requests.count %>
                </li>
            <% end%>
{'fraction_non_alphanumeric': 0.19902214552775382, 'fraction_numerical': 0.019557089444923785, 'mean_word_length': 2.9122609673790776, 'pattern_counts': {'":': 0, '<': 109, '<?xml version=': 0, '>': 123, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '2742380', 'n_tokens_mistral': 1329, 'n_tokens_neox': 1169, 'n_words': 235}