Sha256: 1c8779acf34e0f3f31d85095ebbe1890bac4088cc54d36f30d48704f4f5da990

Contents?: true

Size: 1.11 KB

Versions: 14

Compression:

Stored size: 1.11 KB

Contents

<div id="content_detail" class="ui-corner-all ui-widget-content">
<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 ui-widget-content">
  <ul>
    <li><%= link_to t('page.new', :model => t('activerecord.models.inventory')), new_inventory_path -%></li>
  </ul>
</div>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
enju_inventory-0.3.1 app/views/inventories/index.html.erb
enju_inventory-0.4.0.rc.1 app/views/inventories/index.html.erb
enju_inventory-0.3.0 app/views/inventories/index.html.erb
enju_inventory-0.3.0.beta.1 app/views/inventories/index.html.erb
enju_inventory-0.2.0 app/views/inventories/index.html.erb
enju_inventory-0.2.0.beta.3 app/views/inventories/index.html.erb
enju_inventory-0.2.0.beta.2 app/views/inventories/index.html.erb
enju_inventory-0.2.0.beta.1 app/views/inventories/index.html.erb
enju_inventory-0.1.12 app/views/inventories/index.html.erb
enju_inventory-0.1.11 app/views/inventories/index.html.erb
enju_inventory-0.1.11.pre13 app/views/inventories/index.html.erb
enju_inventory-0.1.11.pre12 app/views/inventories/index.html.erb
enju_inventory-0.1.11.pre11 app/views/inventories/index.html.erb
enju_inventory-0.1.11.pre10 app/views/inventories/index.html.erb