<commit_before><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<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><%= controller.controller_name.to_s.titlecase %>: <%= controller.action_name.to_s.titlecase %></title>
  <%= javascript_include_tag :defaults %>
  <%= stylesheet_link_tag 'scaffold' %>
  <%= stylesheet_link_tag "forms" %>
  <%= stylesheet_link_tag "autocomplete" %>
</head>
<body>

<h1><%= @content_title %></h1>

<p style="color: green"><%= flash[:notice] %></p>

<%= yield %>

</body><commit_msg>Add global login/signup or current user/logout links<commit_after><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<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><%= controller.controller_name.to_s.titlecase %>: <%= controller.action_name.to_s.titlecase %></title>
  <%= javascript_include_tag :defaults %>
  <%= stylesheet_link_tag 'scaffold' %>
  <%= stylesheet_link_tag "forms" %>
  <%= stylesheet_link_tag "autocomplete" %>
</head>
<body>

<% if current_user %>
  <%= link_to "#{current_user.name}", user_path(current_user)  %> |
  <%= link_to "logout", logout_path, :method => :delete %>
<% else %>
  <%= link_to "login", login_path %> |
  <%= link_to "signup", signup_path %>
<% end %>

<h1><%= @content_title %></h1>

<p style="color: green"><%= flash[:notice] %></p>

<%= yield %>

</body>
{'fraction_non_alphanumeric': 0.21912114014251782, 'fraction_numerical': 0.0166270783847981, 'mean_word_length': 4.871080139372823, 'pattern_counts': {'":': 0, '<': 54, '<?xml version=': 0, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '959955', 'n_tokens_mistral': 713, 'n_tokens_neox': 631, 'n_words': 103}