Sha256: 24374e409687e580b9a07aa8bf8cafab17c339f9f1fe64bfe26871fa38fefb8e

Contents?: true

Size: 1.05 KB

Versions: 15

Compression:

Stored size: 1.05 KB

Contents

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

<table class="index">
  <tr>
    <th><%= t('activerecord.models.inventory_file') -%> </th>
    <th><%= t('activerecord.models.item') -%> </th>
    <th></th>
  </tr>

<%- @inventories.each do |inventory| -%>
  <tr class="line<%= cycle("0", "1") -%>">
    <td><%= link_to inventory.inventory_file_id, inventory.inventory_file -%></td>
    <td><%= link_to inventory.item.item_identifier, inventory.item -%></td>
    <td>
      <%= link_to t('page.show'), inventory -%>
      <%= link_to t('page.edit'), edit_inventory_path(inventory) -%>
      <%= link_to t('page.destroy'), inventory, :confirm => t('page.are_you_sure'), :method => :delete -%>
    </td>
  </tr>
<%- end -%>
</table>

<%= will_paginate(@inventories) -%>

</div>
</div>

<div id="submenu" class="ui-corner-all">
  <ul>
    <li><%= link_to t('page.new', :model => t('activerecord.models.inventory')), new_inventory_path -%></li>
  </ul>
</div>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
enju_inventory-0.0.11 app/views/inventories/index.html.erb
enju_inventory-0.0.10 app/views/inventories/index.html.erb
enju_inventory-0.1.5 app/views/inventories/index.html.erb
enju_inventory-0.1.4 app/views/inventories/index.html.erb
enju_inventory-0.0.9 app/views/inventories/index.html.erb
enju_inventory-0.0.8 app/views/inventories/index.html.erb
enju_inventory-0.1.3 app/views/inventories/index.html.erb
enju_inventory-0.1.2 app/views/inventories/index.html.erb
enju_inventory-0.0.7 app/views/inventories/index.html.erb
enju_inventory-0.1.1 app/views/inventories/index.html.erb
enju_inventory-0.0.6 app/views/inventories/index.html.erb
enju_inventory-0.0.5 app/views/inventories/index.html.erb
enju_inventory-0.1.0 app/views/inventories/index.html.erb
enju_inventory-0.0.4 app/views/inventories/index.html.erb
enju_inventory-0.0.3 app/views/inventories/index.html.erb