<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 "Publishing", '#publish' %></li>
    <li><%= link_to "Comments", '#spam' %></li>
  </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>
  </dl>
</div>

<% if false -%>
<div id="publish" class="setgroup">
  <h3>Publishing and reading</h3>
  <dl class="setform">
    <dt>
      <label for="site_ping_urls">Urls to ping when publishing</label><br />
      <span class="hint">Each one should be on a separate line.</span>
    </dt>
    <dd><%= text_area 'site', 'ping_urls', :rows => 5, :cols => 45 %></dd>
    <dt><label for="site_articles_per_page">Articles shown on homepage</label></dt>
    <dd><%= text_field 'site', 'articles_per_page', :class => 'tiny' %></dd>
    <dt>
      <label for="site_permalink_style">Permalink style</label>
      <span class="hint">(How articles are linked to)</span>
    </dt>
    <dd>
      <select name="permalink_style">
        <%= options_for_select(%w(permalink year/month/permalink year/month/day/permalink section/permalink), '') %>
      </select>
    </dd>
    
  </dl>
</div>
<% end -%>

<div id="spam" class="setgroup">
  <h3>Spam prevention</h3>
  <p>At the moment Mephisto uses <%= link_to 'Akismet', 'http://akismet.com' %> to automatically handle spam.</p>
  <dl class="setform">
    <dt><label>Akismet API Key</label></dt> 
    <dd><%= f.text_field :akismet_key %></dd>
    <dt><label>Blog url</label></dt> 
    <dd><%= f.text_field :akismet_url %></dd>
    <dt><label for="site_comment_age">Expire Comments</label></dt>
    <dd><%= f.select :comment_age, comment_expiration_options %></dd>
    <dd>
      <label><%= f.check_box 'approve_comments' %> approve and publish all comments automatically.</label>
    </dd>
  </dl>
</div>


<p class="btns"><%= submit_tag 'Save and apply settings' %></p>
<% end %>
    <commit_msg>Fixes some verbage on settings screen<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 "Publishing", '#publish' %></li>
    <li><%= link_to "Comments", '#spam' %></li>
  </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>
  </dl>
</div>

<% if false -%>
<div id="publish" class="setgroup">
  <h3>Publishing and reading</h3>
  <dl class="setform">
    <dt>
      <label for="site_ping_urls">Urls to ping when publishing</label><br />
      <span class="hint">Each one should be on a separate line.</span>
    </dt>
    <dd><%= text_area 'site', 'ping_urls', :rows => 5, :cols => 45 %></dd>
    <dt><label for="site_articles_per_page">Articles shown on homepage</label></dt>
    <dd><%= text_field 'site', 'articles_per_page', :class => 'tiny' %></dd>
    <dt>
      <label for="site_permalink_style">Permalink style</label>
      <span class="hint">(How articles are linked to)</span>
    </dt>
    <dd>
      <select name="permalink_style">
        <%= options_for_select(%w(permalink year/month/permalink year/month/day/permalink section/permalink), '') %>
      </select>
    </dd>
    
  </dl>
</div>
<% end -%>

<div id="spam" class="setgroup">
  <h3>Spam prevention</h3>
  <p>At the moment Mephisto uses <%= link_to 'Akismet', 'http://akismet.com' %> to automatically handle spam.</p>
  <dl class="setform">
    <dt><label>Akismet API Key</label></dt> 
    <dd><%= f.text_field :akismet_key %></dd>
    <dt><label>Blog url</label></dt> 
    <dd><%= f.text_field :akismet_url %></dd>
    <dt><label for="site_comment_age">Comments</label></dt>
    <dd><%= f.select :comment_age, comment_expiration_options %></dd>
    <dt>
      <label for"site_comment_age"><%= f.check_box 'approve_comments' %> Approve and publish all comments automatically.</label>
    </dt>
  </dl>
</div>


<p class="btns"><%= submit_tag 'Save and apply settings' %></p>
<% end %>
    
{'fraction_non_alphanumeric': 0.21746174617461747, 'fraction_numerical': 0.0032403240324032404, 'mean_word_length': 3.8481675392670156, 'pattern_counts': {'":': 0, '<': 261, '<?xml version=': 0, '>': 273, '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': '1195231', 'n_tokens_mistral': 2132, 'n_tokens_neox': 2023, 'n_words': 461}