<commit_before><!DOCTYPE html>
<html>
<head>
  <title>AnkleBracelets</title>
  <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
  <%= csrf_meta_tags %>
</head>
<%
 no_iframe = controller_name != 'sessions' && controller_name != 'registrations' && controller_name != 'passwords'
%>

<% if no_iframe %>
  <body class="show-bg">
<% else %>
  <body>
<% end %>

<%- if no_iframe %>
  <nav>
    <%= link_to 'View All Organizations', organizations_path %>
    <% if user_signed_in? %>
      <%= link_to current_user.email, my_organizations_path %>
      <%= link_to('Logout', destroy_user_session_path, :method => :delete) %>
    <% else %>
    <!--
      <%= link_to('Login', new_user_session_path)  %>  
    -->
    <% end %>    
  </nav>
<% end -%>



<p class="custom notice"><%= notice %></p>
<p class="custom alert"><%= alert %></p>

<%= yield %>

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>

</body>
</html><commit_msg>Add flash messages to app template<commit_after><!DOCTYPE html>
<html>
<head>
  <title>AnkleBracelets</title>
  <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
  <%= csrf_meta_tags %>
</head>
<%
 no_iframe = controller_name != 'sessions' && controller_name != 'registrations' && controller_name != 'passwords'
%>

<% if no_iframe %>
  <body class="show-bg">
<% else %>
  <body>
<% end %>

<%- if no_iframe %>
  <nav>
    <%= link_to 'View All Organizations', organizations_path %>
    <% if user_signed_in? %>
      <%= link_to current_user.email, my_organizations_path %>
      <%= link_to('Logout', destroy_user_session_path, :method => :delete) %>
    <% else %>
    <!--
      <%= link_to('Login', new_user_session_path)  %>  
    -->
    <% end %>    
  </nav>
<% end -%>


<% flash.each do |name, msg| %>
  <%= content_tag :div, msg, class: "alert alert-info" %>
<% end %>

<p class="custom notice"><%= notice %></p>
<p class="custom alert"><%= alert %></p>

<%= yield %>

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>

</body>
</html>
{'fraction_non_alphanumeric': 0.21045045045045044, 'fraction_numerical': 0.007207207207207207, 'mean_word_length': 4.093577981651376, 'pattern_counts': {'":': 0, '<': 88, '<?xml version=': 0, '>': 94, 'https://': 6, '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': '395619', 'n_tokens_mistral': 1086, 'n_tokens_neox': 986, 'n_words': 167}