Sha256: f7c2999643b0537f307ba2e96edce9530d37668716f1b913be5156f714ab4ec8

Contents?: true

Size: 1.65 KB

Versions: 7

Compression:

Stored size: 1.65 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><%= 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, :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

7 entries across 7 versions & 1 rubygems

Version Path
enju_inventory-0.1.11.pre6 app/views/inventory_files/index.html.erb
enju_inventory-0.1.11.pre5 app/views/inventory_files/index.html.erb
enju_inventory-0.1.11.pre4 app/views/inventory_files/index.html.erb
enju_inventory-0.1.11.pre2 app/views/inventory_files/index.html.erb
enju_inventory-0.1.11.pre app/views/inventory_files/index.html.erb
enju_inventory-0.1.10 app/views/inventory_files/index.html.erb
enju_inventory-0.1.9 app/views/inventory_files/index.html.erb