<commit_before><% content_for :action_nav do %>
<!-- begin action nav -->
<div id="page-nav">
  <ul id="act-nav" class="clear">
    <li><%= link_to "General", '#general' %></li>
    <li><%= link_to "Comments", '#spam' %></li>
    <li><%= link_to "Publishing", '#publish' %></li>
    <% if ActionController::Base.perform_caching -%>
    <li><%= link_to 'Caches', :controller => '/admin/cached_pages' %></li>
    <% end -%>
  </ul>
</div>
<!-- /end action nav -->
<% end %>


<% form_for :site, :url => { :action => "update" } do |f| %>
<div id="general" class="setgroup">
  <h3>General site settings</h3>
  <dl class="setform">
    <dt><label for="site_title">Website title</label></dt>
    <dd><%= f.text_field :title %></dd>
    <dt><label for="site_subtitle">Website subtitle</label></dt>
    <dd><%= f.text_field :subtitle %></dd>
    <dt>
      <label for="site_email">Administrator email</label>
      <span class="hint">Shown in emails sent from your site</span>
    </dt>
    <dd><%= f.text_field :email %></dd>
    <dt><label for="site_timezone">Website Timezone</label></dt>
    <dd><%= select_tag 'site_timezone', options_for_select(['UTC'] + TZInfo::Timezone.all.map{|tz| [tz.to_s, tz.name]}.sort, @site.timezone.name), :name => 'site[timezone]' %></dd>
    <dt><commit_msg>Added link to spam prevention section in #act-nav.<commit_after><% content_for :action_nav do %>
<!-- begin action nav -->
<div id="page-nav">
  <ul id="act-nav" class="clear">
    <li><%= link_to "General", '#general' %></li>
    <li><%= link_to "Spam Prevention", '#spam' %></li>
    <li><%= link_to "Comments", '#spam' %></li>
    <li><%= link_to "Publishing", '#publish' %></li>
    <% if ActionController::Base.perform_caching -%>
    <li><%= link_to 'Caches', :controller => '/admin/cached_pages' %></li>
    <% end -%>
  </ul>
</div>
<!-- /end action nav -->
<% end %>


<% form_for :site, :url => { :action => "update" } do |f| %>
<div id="general" class="setgroup">
  <h3>General site settings</h3>
  <dl class="setform">
    <dt><label for="site_title">Website title</label></dt>
    <dd><%= f.text_field :title %></dd>
    <dt><label for="site_subtitle">Website subtitle</label></dt>
    <dd><%= f.text_field :subtitle %></dd>
    <dt>
      <label for="site_email">Administrator email</label>
      <span class="hint">Shown in emails sent from your site</span>
    </dt>
    <dd><%= f.text_field :email %></dd>
    <dt><label for="site_timezone">Website Timezone</label></dt>
    <dd><%= select_tag 'site_timezone', options_for_select(['UTC'] + TZInfo::Timezone.all.map{|tz| [tz.to_s, tz.name]}.sort, @site.timezone.name), :name => 'site[timezone]' %></dd>
    <dt>
{'fraction_non_alphanumeric': 0.23929376408715253, 'fraction_numerical': 0.0015026296018031556, 'mean_word_length': 4.034026465028355, 'pattern_counts': {'":': 0, '<': 122, '<?xml version=': 0, '>': 130, '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': '4651869', 'n_tokens_mistral': 1025, 'n_tokens_neox': 971, 'n_words': 218}