<commit_before><!DOCTYPE html>
<html lang="EN-GB">
  <head>
    <% @title = yield :page_title; @title = 'HM Government e-petitions' if @title.blank? -%>
    <title><%= @title %></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%= stylesheet_link_tag 'application' %>
    <!--[if IE 6]><%= stylesheet_link_tag 'ie6' %><![endif]-->
    <!--[if lte IE 7]><%= stylesheet_link_tag 'ie7under' %><![endif]-->
    <!--[if gte IE 9]><%= stylesheet_link_tag 'ie9' %><![endif]-->
    <%= javascript_include_tag 'vendor/jquery', 'application', 'accessibility', 'form_controller' %>

    <%= yield :js %>
    <meta name="dcterms.spatial" xml:lang="en" lang="en" content="UK"/>
    <meta name="dcterms.creator" content="Government Digital Service"/>
    <meta name="dcterms.modified" content="19072011"/>
    <meta name="dc.language" xml:lang="en" lang="en" content="en"/>
    <meta name="dcterms.publisher" content="Government Digital Service"/>
    <meta name="dcterms.subject" xml:lang="en" lang="en" content="e-petitions"/>
    <meta name="dcterms.title" content="<%= @title %>">
    <meta name="viewport" content="width = device-width"/>
    <%= render 'layouts/analytics' %>
  </head>
  <body>
    <div id="outer_page_wrapper">
      <div id="inner_page_wrapper">
        <div id="header">
          <div class="logo">
            <%= link_to image_tag('logos/hm_gov.gif', :alt => 'HM Government') + raw('<span class="link_description">Click here to return to the home page</span>'), home_path, :class => 'logo_link', :title => 'Click here to return to the home page', :tabindex => 1 %>
          </div>
          <div id="header_content">
            <%= link_to 'Accessibility', accessibility_path, :class => 'accessibility_link', :tabindex => 3 %>
            <%= link_to 'Home', home_path, :class => 'home_link', :tabindex => 2 %>
            <% if params[:action] != 'home' and Petition.visible.count > 0 %>
              <% focus = (params[:action] == 'search' or params[:action] == 'show') ? "autofocus=\"autofocus\"".html_safe : '' %>
              <form method="get" action="/search" class="search_form">
                <input type='text' name="q" id="search_header" value="<%= @petition_search.try(:search_term) %>" size="30" tabindex="4" <%= focus %>/>
                <input type='submit' value='Search' class="button" id="search_button_header"/>
                <label for='search_header'>Search published e-petitions</label>
              </form>
            <% end -%>
          </div>

        </div>
        <div id="page_content">
          <%= yield :title %>
          <%= render :partial => 'shared/messages' %>
          <%= yield %>
        </div>
        <div id="footer">
          <%= render_tabnav :id => "footer_nav" do |n|
            n.add_tab do |t|
              t.named 'How e-petitions work'
              t.links_to how_it_works_path
            end
            n.add_tab do |t|
              t.named 'Terms and conditions'
              t.links_to terms_and_conditions_path
            end
            n.add_tab do |t|
              t.named 'Privacy'
              t.links_to privacy_policy_path
            end
            n.add_tab do |t|
              t.named 'Crown copyright'
              t.links_to crown_copyright_path
            end
            n.add_tab do |t|
              t.named 'FAQs'
              t.links_to faq_path
            end
            n.add_tab do |t|
              t.named 'Feedback'
              t.links_to feedback_path
            end
          end %>
        </div>
      </div>
    </div>
  </body>
</html><commit_msg>removing FAQ links in the footer<commit_after><!DOCTYPE html>
<html lang="EN-GB">
  <head>
    <% @title = yield :page_title; @title = 'HM Government e-petitions' if @title.blank? -%>
    <title><%= @title %></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%= stylesheet_link_tag 'application' %>
    <!--[if IE 6]><%= stylesheet_link_tag 'ie6' %><![endif]-->
    <!--[if lte IE 7]><%= stylesheet_link_tag 'ie7under' %><![endif]-->
    <!--[if gte IE 9]><%= stylesheet_link_tag 'ie9' %><![endif]-->
    <%= javascript_include_tag 'vendor/jquery', 'application', 'accessibility', 'form_controller' %>

    <%= yield :js %>
    <meta name="dcterms.spatial" xml:lang="en" lang="en" content="UK"/>
    <meta name="dcterms.creator" content="Government Digital Service"/>
    <meta name="dcterms.modified" content="19072011"/>
    <meta name="dc.language" xml:lang="en" lang="en" content="en"/>
    <meta name="dcterms.publisher" content="Government Digital Service"/>
    <meta name="dcterms.subject" xml:lang="en" lang="en" content="e-petitions"/>
    <meta name="dcterms.title" content="<%= @title %>">
    <meta name="viewport" content="width = device-width"/>
    <%= render 'layouts/analytics' %>
  </head>
  <body>
    <div id="outer_page_wrapper">
      <div id="inner_page_wrapper">
        <div id="header">
          <div class="logo">
            <%= link_to image_tag('logos/hm_gov.gif', :alt => 'HM Government') + raw('<span class="link_description">Click here to return to the home page</span>'), home_path, :class => 'logo_link', :title => 'Click here to return to the home page', :tabindex => 1 %>
          </div>
          <div id="header_content">
            <%= link_to 'Accessibility', accessibility_path, :class => 'accessibility_link', :tabindex => 3 %>
            <%= link_to 'Home', home_path, :class => 'home_link', :tabindex => 2 %>
            <% if params[:action] != 'home' and Petition.visible.count > 0 %>
              <% focus = (params[:action] == 'search' or params[:action] == 'show') ? "autofocus=\"autofocus\"".html_safe : '' %>
              <form method="get" action="/search" class="search_form">
                <input type='text' name="q" id="search_header" value="<%= @petition_search.try(:search_term) %>" size="30" tabindex="4" <%= focus %>/>
                <input type='submit' value='Search' class="button" id="search_button_header"/>
                <label for='search_header'>Search published e-petitions</label>
              </form>
            <% end -%>
          </div>

        </div>
        <div id="page_content">
          <%= yield :title %>
          <%= render :partial => 'shared/messages' %>
          <%= yield %>
        </div>
        <div id="footer">
          <%= render_tabnav :id => "footer_nav" do |n|
            n.add_tab do |t|
              t.named 'How e-petitions work'
              t.links_to how_it_works_path
            end
            n.add_tab do |t|
              t.named 'Terms and conditions'
              t.links_to terms_and_conditions_path
            end
            n.add_tab do |t|
              t.named 'Privacy'
              t.links_to privacy_policy_path
            end
            n.add_tab do |t|
              t.named 'Crown copyright'
              t.links_to crown_copyright_path
            end
            n.add_tab do |t|
              t.named 'Feedback'
              t.links_to feedback_path
            end
          end %>
        </div>
      </div>
    </div>
  </body>
</html>
{'fraction_non_alphanumeric': 0.17247167436005037, 'fraction_numerical': 0.0061547069520212615, 'mean_word_length': 2.336444237050863, 'pattern_counts': {'":': 0, '<': 139, '<?xml version=': 0, '>': 161, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '1198114', 'n_tokens_mistral': 2379, 'n_tokens_neox': 2232, 'n_words': 510}