Sha256: 3d712d2613b4c186bbe51d2a987c9c625cd0ade23f1988ef3ec143a6d49cc95a

Contents?: true

Size: 1.07 KB

Versions: 10

Compression:

Stored size: 1.07 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="table table-striped 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, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
    </td>
  </tr>
<%- end -%>
</table>

<%= 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

10 entries across 10 versions & 1 rubygems

Version Path
enju_inventory-0.1.11.pre9 app/views/inventories/index.html.erb
enju_inventory-0.1.11.pre8 app/views/inventories/index.html.erb
enju_inventory-0.1.11.pre7 app/views/inventories/index.html.erb
enju_inventory-0.1.11.pre6 app/views/inventories/index.html.erb
enju_inventory-0.1.11.pre5 app/views/inventories/index.html.erb
enju_inventory-0.1.11.pre4 app/views/inventories/index.html.erb
enju_inventory-0.1.11.pre2 app/views/inventories/index.html.erb
enju_inventory-0.1.11.pre app/views/inventories/index.html.erb
enju_inventory-0.1.10 app/views/inventories/index.html.erb
enju_inventory-0.1.9 app/views/inventories/index.html.erb