<commit_before><!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
  <title><%= @page_name %></title>
  <link rel="shortcut icon" href="/favicon.ico"/>
  <%= include_stylesheets :common, :media => 'all' %>
  <%= yield :stylesheet %>
  <%= include_javascripts :common %>
  <%= csrf_meta_tag %>
  <%= yield :javascript %>

</head>
<body class="<%= @body_class %>">
<div class="page_container">
  <header>
    <%= link_to 'RapidFTR logo', root_path, :class => 'logo' %>
    <%= render :partial => "shared/header_links" %>
  </header>
  <div class="main_bar">
    <nav>
      <ul>
        <li><%= link_to 'CHILDREN', children_path %></li>
        <li><%= link_to 'FORMS', formsections_path %></li>
        <li><%= link_to 'USERS', users_path %></li>
        <li><%= link_to 'DEVICES', devices_path %></li>
        <li><a href="#">REPORTS</a></li>
      </ul>
    </nav>
    <%= form_tag search_children_path, :method => :get, :id => "search_form" do %>
        <div class="search">
          <%= link_to 'Advanced Search', new_advanced_search_path %>
          <%= text_field_tag 'query', params[:query] %><commit_msg>Argha - [#1394] Hiding FORMS link based on Manage Forms permission<commit_after><!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
  <title><%= @page_name %></title>
  <link rel="shortcut icon" href="/favicon.ico"/>
  <%= include_stylesheets :common, :media => 'all' %>
  <%= yield :stylesheet %>
  <%= include_javascripts :common %>
  <%= csrf_meta_tag %>
  <%= yield :javascript %>

</head>
<body class="<%= @body_class %>">
<div class="page_container">
  <header>
    <%= link_to 'RapidFTR logo', root_path, :class => 'logo' %>
    <%= render :partial => "shared/header_links" %>
  </header>
  <div class="main_bar">
    <nav>
      <ul>
        <li><%= link_to 'CHILDREN', children_path %></li>
        <% if current_user_name==nil or can? :manage, FormSection %>
            <li><%= link_to 'FORMS', formsections_path %></li>
        <% end %>
        <li><%= link_to 'USERS', users_path %></li>
        <li><%= link_to 'DEVICES', devices_path %></li>
        <li><a href="#">REPORTS</a></li>
      </ul>
    </nav>
    <%= form_tag search_children_path, :method => :get, :id => "search_form" do %>
        <div class="search">
          <%= link_to 'Advanced Search', new_advanced_search_path %>
          <%= text_field_tag 'query', params[:query] %>
{'fraction_non_alphanumeric': 0.21412037037037038, 'fraction_numerical': 0.006172839506172839, 'mean_word_length': 3.541155866900175, 'pattern_counts': {'":': 0, '<': 97, '<?xml version=': 0, '>': 107, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 4}, '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': '2749764', 'n_tokens_mistral': 1006, 'n_tokens_neox': 916, 'n_words': 194}