Sha256: ecc832101a693c1951a72b96bfc8e9d3e7a1852775e9703d7de006b65172867c

Contents?: true

Size: 1.63 KB

Versions: 11

Compression:

Stored size: 1.63 KB

Contents

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

<table class="index">
  <tr>
    <th><%= t('activerecord.attributes.inventory_file.inventory_file_name') -%> </th>
    <th><%= t('activerecord.attributes.inventory_file.inventory_content_type') -%> </th>
    <th><%= t('activerecord.attributes.inventory_file.inventory_file_size') -%> </th>
    <th><%= t('activerecord.attributes.inventory_file.inventory_fingerprint') -%> </th>
    <th><%= t('activerecord.models.user') -%> </th>
    <th><%= t('activerecord.attributes.inventory_file.note') -%> </th>
  </tr>

<%- @inventory_files.each do |inventory_file| -%>
  <tr class="line<%= cycle("0", "1") -%>">
    <td><%= inventory_file.inventory_file_name -%> </td>
    <td><%= inventory_file.inventory_content_type -%> </td>
    <td><%= inventory_file.inventory_file_size -%> </td>
    <td><%= inventory_file.inventory_fingerprint -%> </td>
    <td><%= link_to inventory_file.user.username, inventory_file.user -%> </td>
    <td><%= inventory_file.note -%> </td>
    <td><%= link_to t('page.show'), inventory_file -%> </td>
    <td><%= link_to t('page.edit'), edit_inventory_file_path(inventory_file) -%> </td>
    <td><%= link_to t('page.destroy'), inventory_file, :confirm => t('page.are_you_sure'), :method => :delete -%> </td>
  </tr>
<%- end -%>
</table>

<%= will_paginate(@inventory_files) -%>
</div>
</div>

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
enju_inventory-0.0.11 app/views/inventory_files/index.html.erb
enju_inventory-0.0.10 app/views/inventory_files/index.html.erb
enju_inventory-0.1.5 app/views/inventory_files/index.html.erb
enju_inventory-0.1.4 app/views/inventory_files/index.html.erb
enju_inventory-0.0.9 app/views/inventory_files/index.html.erb
enju_inventory-0.0.8 app/views/inventory_files/index.html.erb
enju_inventory-0.1.3 app/views/inventory_files/index.html.erb
enju_inventory-0.1.2 app/views/inventory_files/index.html.erb
enju_inventory-0.0.7 app/views/inventory_files/index.html.erb
enju_inventory-0.1.1 app/views/inventory_files/index.html.erb
enju_inventory-0.0.6 app/views/inventory_files/index.html.erb