Sha256: 70134f71ecfbf82f6f047c79b7816ea2d0f804691cc49736aa9144bb4b51e6e5

Contents?: true

Size: 1.59 KB

Versions: 3

Compression:

Stored size: 1.59 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="table table-striped 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></th>
  </tr>

<%- @inventory_files.each do |inventory_file| -%>
  <tr class="line<%= cycle("0", "1") -%>">
    <td>
      <%= link_to inventory_file.inventory_file_name, inventory_file -%>
      <br />
      <%= inventory_file.created_at -%>
    </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>
      <%= link_to t('page.edit'), edit_inventory_file_path(inventory_file) -%>
      <%= link_to t('page.destroy'), inventory_file, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
    </td>
  </tr>
<%- end -%>
</table>

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

3 entries across 3 versions & 1 rubygems

Version Path
enju_inventory-0.1.11.pre9 app/views/inventory_files/index.html.erb
enju_inventory-0.1.11.pre8 app/views/inventory_files/index.html.erb
enju_inventory-0.1.11.pre7 app/views/inventory_files/index.html.erb