<commit_before><%= error_messages_for 'article' %>
<!--[form:articles]-->
<p>
  <label for="articles_title">Title:</label><br />
  <%= text_field 'article', 'title'  %>
  (<%= link_to_function "&raquo; edit permalink", "Toggle.display('permalink')" %>)<br/>
</p>
<p id="permalink" style="display: none">
  <label for="articles_permalink">Permalink:</label><br />
  <%= text_field 'article', 'permalink'  %>
</p>
<p>
  <label for="categories[]">Categories:</label><br />
  <select name="categories[]" multiple="multiple" size="10" style="width:250px;">
  <%= options_from_collection_for_select(@categories, "id", "name", @selected) %>
  </select>
</p>
<p>
  <label for="articles_body">Article:</label><br />
  <%= text_area 'article', 'body', :rows => 25  %>
</p>
<p>
  <a href="#" onclick="Element.toggle('extended'); return false">Add Extended Content</a><br />
  <div id="extended" style="display:none;">
  <label for="articles_extended">Extended:</label><br />
  <%= text_area 'article', 'extended', :rows => 30  %>
  </div>
</p>

<a href="#" onclick="Element.toggle('advanced'); return false;">Toggle Advanced Options (+/-)</a>
<div id="advanced" style="display:none;">
<label for="articles_allow_comments">Allow comments: </label><%= check_box 'article', 'allow_comments'  %><br />
<label for="articles_allow_pings">Allow pings: </label><%= check_box 'article', 'allow_pings'  %><br />
<label for="articles_published">Published:</label><%= check_box 'article', 'published'  %><br />
<label for="articles_text_filter">Textfilter: </label><%= select 'article', 'text_filter', text_filter_options %><br />
<label for="articles_created_at">Creation date:</label><%= datetime_select 'article', 'created_at'  %><br />
</div>
<br clear="all"/>

<!--[eoform:articles]--><commit_msg>Fixed label for attributes on article creation form (closes #229) [<EMAIL>]<commit_after><%= error_messages_for 'article' %>
<!--[form:articles]-->
<p>
  <label for="article_title">Title:</label><br />
  <%= text_field 'article', 'title'  %>
  (<%= link_to_function "&raquo; edit permalink", "Toggle.display('permalink')" %>)<br/>
</p>
<p id="permalink" style="display: none">
  <label for="article_permalink">Permalink:</label><br />
  <%= text_field 'article', 'permalink'  %>
</p>
<p>
  <label for="categories">Categories:</label><br />
  <select id="categories" name="categories[]" multiple="multiple" size="10" style="width:250px;">
  <%= options_from_collection_for_select(@categories, "id", "name", @selected) %>
  </select>
</p>
<p>
  <label for="article_body">Article:</label><br />
  <%= text_area 'article', 'body', :rows => 25  %>
</p>
<p>
  <a href="#" onclick="Element.toggle('extended'); return false">Add Extended Content</a><br />
  <div id="extended" style="display:none;">
  <label for="article_extended">Extended:</label><br />
  <%= text_area 'article', 'extended', :rows => 30  %>
  </div>
</p>

<a href="#" onclick="Element.toggle('advanced'); return false;">Toggle Advanced Options (+/-)</a>
<div id="advanced" style="display:none;">
<label for="article_allow_comments">Allow comments: </label><%= check_box 'article', 'allow_comments'  %><br />
<label for="article_allow_pings">Allow pings: </label><%= check_box 'article', 'allow_pings'  %><br />
<label for="article_published">Published:</label><%= check_box 'article', 'published'  %><br />
<label for="article_text_filter">Textfilter: </label><%= select 'article', 'text_filter', text_filter_options %><br />
<label for="article_created_at">Creation date:</label><%= datetime_select 'article', 'created_at'  %><br />
</div>
<br clear="all"/>

<!--[eoform:articles]-->
{'fraction_non_alphanumeric': 0.2333793103448276, 'fraction_numerical': 0.005793103448275862, 'mean_word_length': 6.554166666666666, 'pattern_counts': {'":': 0, '<': 138, '<?xml version=': 0, '>': 142, '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': '1193556', 'n_tokens_mistral': 1309, 'n_tokens_neox': 1209, 'n_words': 254}