<commit_before><tr><td colspan="2" class="heading first">
  <h2><%= '{page_class} Information'[:create_page_information, "Page"[:page]] %></h2>
</td></tr>

<tr>
  <td colspan="2" class="label first"><%= 'Title'.t %></td>
</tr>
<tr>
  <td><%= text_field 'page', 'title', :size => 40 %></td>
  <%= javascript_tag %( $("page_title").focus() ) %>
  <td class="help"><%= help(:title) %></td>
</tr>

<tr>
  <td colspan="2" class='label'><%= 'Summary'.t %></td>
</tr>
<tr>
  <td><%= text_area 'page', 'summary', :size => '40x3' %></td>
  <td class="help"><%= help(:summary) %></td>
</tr>

<tr>
  <td colspan="2" class='label'><%= 'Tags'.t %></td>
</tr>
<tr>
  <td>
    <%= text_field 'page', 'tag_list', :size => 40 %>
  </td>
  <td class="help"><%= 'Separate tags using commas'[:separate_tags]%></td>
</tr>

<tr>
  <td colspan="2" class='label'><%= "Page Owner (optional)"[:page_create_owner] %></td>
</tr>
<tr>
  <td>
    <%= select_tag 'page[owner]', options_for_page_owner(:include_me => true) %>
  </td>
  <td class="help"><%= help(:page_owner) %></td>
</tr>

<commit_msg>page creation: hide the owner field if we got to the create form by way of a group. the owner is hardcoded as the group.<commit_after><tr><td colspan="2" class="heading first">
  <h2><%= '{page_class} Information'[:create_page_information, "Page"[:page]] %></h2>
</td></tr>

<tr>
  <td colspan="2" class="label first"><%= 'Title'.t %></td>
</tr>
<tr>
  <td><%= text_field 'page', 'title', :size => 40 %></td>
  <%= javascript_tag %( $("page_title").focus() ) %>
  <td class="help"><%= help(:title) %></td>
</tr>

<tr>
  <td colspan="2" class='label'><%= 'Summary'.t %></td>
</tr>
<tr>
  <td><%= text_area 'page', 'summary', :size => '40x3' %></td>
  <td class="help"><%= help(:summary) %></td>
</tr>

<tr>
  <td colspan="2" class='label'><%= 'Tags'.t %></td>
</tr>
<tr>
  <td>
    <%= text_field 'page', 'tag_list', :size => 40 %>
  </td>
  <td class="help"><%= 'Separate tags using commas'[:separate_tags]%></td>
</tr>

<% if params[:group].any? %>
  <%= hidden_field_tag 'page[owner]', params[:group] %>
<% else %>
<tr>
  <td colspan="2" class='label'><%= "Page Owner (optional)"[:page_create_owner] %></td>
</tr>
<tr>
  <td>
    <%= select_tag 'page[owner]', options_for_page_owner(:include_me => true) %>
  </td>
  <td class="help"><%= help(:page_owner) %></td>
</tr>
<% end %>


{'fraction_non_alphanumeric': 0.28856778580535486, 'fraction_numerical': 0.011899702507437314, 'mean_word_length': 4.812345679012346, 'pattern_counts': {'":': 0, '<': 127, '<?xml version=': 0, '>': 135, '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': '7384139', 'n_tokens_mistral': 1021, 'n_tokens_neox': 948, 'n_words': 223}