Sha256: 53e35fceb7f39a6f514e5febdba71a93b4f6335de0a9a297bd7b4e7ecabff5ba

Contents?: true

Size: 1.28 KB

Versions: 7

Compression:

Stored size: 1.28 KB

Contents

<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>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
enju_nii-0.1.0.pre10 app/views/nii_types/index.html.erb
enju_nii-0.1.0.pre9 app/views/nii_types/index.html.erb
enju_nii-0.1.0.pre8 app/views/nii_types/index.html.erb
enju_nii-0.1.0.pre7 app/views/nii_types/index.html.erb
enju_nii-0.1.0.pre6 app/views/nii_types/index.html.erb
enju_nii-0.1.0.pre5 app/views/nii_types/index.html.erb
enju_nii-0.1.0.pre4 app/views/nii_types/index.html.erb