<commit_before><!DOCTYPE html>
<html>
  <head>
    <title>Kaui app</title>
    <%= stylesheet_link_tag    "application", :media => "all" %>
    <%= javascript_include_tag "application" %>
    <%= csrf_meta_tags %>
  </head>
  <body>
    <div class="navbar navbar-inverse">
      <div class="navbar-inner">
        <div class="container">
          <ul class="nav">
            <li <%= "class='active'" if params[:controller] == 'accounts' %>><%= link_to "Accounts", kaui_engine.accounts_path %></li>
            <li <%= "class='active'" if params[:controller] == 'bundles' %>><%= link_to "Bundles", kaui_engine.bundles_path %></li>
            <li <%= "class='active'" if params[:controller] == 'payments' %>><%= link_to "Payments", kaui_engine.payments_path %></li>
            <li <%= "class='active'" if params[:controller] == 'payment_methods' %>><%= link_to "Payment methods", kaui_engine.payment_methods_path %></li>
            <li <%= "class='active'" if params[:controller] == 'invoices' %>><%= link_to "Invoices", kaui_engine.invoices_path %></li>
            <li <%= "class='active'" if params[:controller] == 'refunds' %>><%= link_to "Refunds", kaui_engine.refunds_path %></li>
            <li <%= "class='active'" if params[:controller] == 'tag_definitions' %>><%= link_to "Tag definitions", kaui_engine.tag_definitions_path %></li>
            <li <%= "class='active'" if params[:controller] == 'tags' %>><%= link_to "Tags", kaui_engine.tags_path %></li>
            <li <%= "class='active'" if params[:controller] == 'custom_fields' %>><%= link_to "Custom Fields", kaui_engine.custom_fields_path %></li>
            <li <%= "class='active'" if params[:controller] == 'analytics' %>><%= link_to "Analytics", kaui_engine.analytics_path %></li>
          </ul>
          <ul class="nav pull-right">
            <% if user_signed_in? -%>
              <li><%= link_to 'Sign out', destroy_user_session_path, method: :delete %></li>
            <% end -%>
          </ul>
        </div>
      </div>
    </div>
    <div class="container">
      <%- # :alert used by devise -%>
      <% [:error, :alert].each do |key| %>
        <% if flash[key] %>
          <div class="row-fluid">
            <div class="span12">
              <div class="alert alert-error"><%= flash[key] %></div>
            </div>
          </div>
        <% end %>
      <% end %>
      <% if flash[:notice] %>
        <div class="row-fluid">
          <div class="span12">
            <div class="alert alert-info"><%= flash[:notice] %></div>
          </div>
        </div>
      <% end %>
      <%= yield %>
    </div>
  </body>
</html>
<commit_msg>layout: remove stale links<commit_after><!DOCTYPE html>
<html>
  <head>
    <title>Kaui app</title>
    <%= stylesheet_link_tag    "application", :media => "all" %>
    <%= javascript_include_tag "application" %>
    <%= csrf_meta_tags %>
  </head>
  <body>
    <div class="navbar navbar-inverse">
      <div class="navbar-inner">
        <div class="container">
          <ul class="nav">
            <li <%= "class='active'" if params[:controller] == 'accounts' %>><%= link_to "Accounts", kaui_engine.accounts_path %></li>
            <li <%= "class='active'" if params[:controller] == 'bundles' %>><%= link_to "Bundles", kaui_engine.bundles_path %></li>
            <li <%= "class='active'" if params[:controller] == 'payments' %>><%= link_to "Payments", kaui_engine.payments_path %></li>
            <li <%= "class='active'" if params[:controller] == 'payment_methods' %>><%= link_to "Payment methods", kaui_engine.payment_methods_path %></li>
            <li <%= "class='active'" if params[:controller] == 'invoices' %>><%= link_to "Invoices", kaui_engine.invoices_path %></li>
            <li <%= "class='active'" if params[:controller] == 'tag_definitions' %>><%= link_to "Tag definitions", kaui_engine.tag_definitions_path %></li>
            <li <%= "class='active'" if params[:controller] == 'tags' %>><%= link_to "Tags", kaui_engine.tags_path %></li>
            <li <%= "class='active'" if params[:controller] == 'custom_fields' %>><%= link_to "Custom Fields", kaui_engine.custom_fields_path %></li>
          </ul>
          <ul class="nav pull-right">
            <% if user_signed_in? -%>
              <li><%= link_to 'Sign out', destroy_user_session_path, method: :delete %></li>
            <% end -%>
          </ul>
        </div>
      </div>
    </div>
    <div class="container">
      <%- # :alert used by devise -%>
      <% [:error, :alert].each do |key| %>
        <% if flash[key] %>
          <div class="row-fluid">
            <div class="span12">
              <div class="alert alert-error"><%= flash[key] %></div>
            </div>
          </div>
        <% end %>
      <% end %>
      <% if flash[:notice] %>
        <div class="row-fluid">
          <div class="span12">
            <div class="alert alert-info"><%= flash[:notice] %></div>
          </div>
        </div>
      <% end %>
      <%= yield %>
    </div>
  </body>
</html>

{'fraction_non_alphanumeric': 0.20973857513470365, 'fraction_numerical': 0.0015964877270005988, 'mean_word_length': 2.637155297532656, 'pattern_counts': {'":': 0, '<': 177, '<?xml version=': 0, '>': 179, 'https://': 0, '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': '6808424', 'n_tokens_mistral': 1769, 'n_tokens_neox': 1616, 'n_words': 343}