anchor.diff:      </td>
       <td><%= nii_type.note -%></td>
       <td>
  -      <%- if can? :update, nii_type -%>
  +      <%- if policy(nii_type).update? -%>
           <%= link_to t('page.edit'), edit_nii_type_path(nii_type) -%>
         <% end %>
  -      <%- if can? :delete, nii_type -%>
  +      <%- if policy(nii_type).destroy? -%>
           <%= link_to t('page.destroy'), nii_type, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
         <% end -%>
       </td>
  
positive.code: </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>
  </div>
  
negative.code: <%- @nii_types.each do |nii_type| -%>
    <tr class="line<%= cycle("0", "1") -%>">
      <td>
        <%- if policy(nii_type).update? -%>
          <%= move_position(nii_type) -%>
        <%- end -%>
      </td>
  