<commit_before><div id="content_detail" class="ui-corner-all">
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.nii_type')) -%></h1>
<div id="content_list">

<table class="table table-striped index">
  <tr>
    <th id="position"></th>
    <th><%= t('activerecord.attributes.nii_type.name') -%></th>
    <th><%= t('activerecord.attributes.nii_type.note') -%></th>
    <th></th>
  </tr>

<%- @nii_types.each do |nii_type| -%>
  <tr class="line<%= cycle("0", "1") -%>">
    <td>
      <%- if can? :update, nii_type -%>
        <%= move_position(nii_type) -%>
      <%- end -%>
    </td>
    <td>
      <%= link_to h(nii_type.display_name.localize), nii_type -%>
      <br />
      (<%= link_to h(nii_type.name), nii_type -%>)
    </td>
    <td><%= nii_type.note -%></td>
    <td>
      <%- if can? :update, nii_type -%>
        <%= link_to t('page.edit'), edit_nii_type_path(nii_type) -%>
      <% end %>
      <%- if can? :delete, nii_type -%>
        <%= link_to t('page.destroy'), nii_type, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
      <% end -%>
    </td>
  </tr>
<%- end -%>
</table>

</div>
</div>

<div id="submenu" class="ui-corner-all">
  <ul>
    <li><%= link_to t('page.new', :model => t('activerecord.models.nii_type')), new_nii_type_path -%></li>
  </ul><commit_msg>updated template file<commit_after><div id="content_detail" class="ui-corner-all">
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.nii_type')) -%></h1>
<div id="content_list">

<table class="table table-striped index">
  <tr>
    <th id="position"></th>
    <th><%= t('activerecord.attributes.nii_type.name') -%></th>
    <th><%= t('activerecord.attributes.nii_type.note') -%></th>
    <th></th>
  </tr>

<%- @nii_types.each do |nii_type| -%>
  <tr class="line<%= cycle("0", "1") -%>">
    <td>
      <%- if policy(nii_type).update? -%>
        <%= move_position(nii_type) -%>
      <%- end -%>
    </td>
    <td>
      <%= link_to h(nii_type.display_name.localize), nii_type -%>
      <br />
      (<%= link_to h(nii_type.name), nii_type -%>)
    </td>
    <td><%= nii_type.note -%></td>
    <td>
      <%- if policy(nii_type).update? -%>
        <%= link_to t('page.edit'), edit_nii_type_path(nii_type) -%>
      <% end %>
      <%- if policy(nii_type).destroy? -%>
        <%= link_to t('page.destroy'), nii_type, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
      <% end -%>
    </td>
  </tr>
<%- end -%>
</table>

</div>
</div>

<div id="submenu" class="ui-corner-all">
  <% if policy(NiiType).create? %>
    <ul>
      <li><%= link_to t('page.new', :model => t('activerecord.models.nii_type')), new_nii_type_path -%></li>
    </ul>
  <% end %>
{'fraction_non_alphanumeric': 0.25677655677655675, 'fraction_numerical': 0.0029304029304029304, 'mean_word_length': 2.992690058479532, 'pattern_counts': {'":': 0, '<': 111, '<?xml version=': 0, '>': 121, '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': '503364', 'n_tokens_mistral': 1206, 'n_tokens_neox': 1135, 'n_words': 184}