Sha256: 9e9246995e92ab62d00e52fa011a87df36474287dc18020a3afd4b5ec4025e7e
Contents?: true
Size: 1.67 KB
Versions: 12
Compression:
Stored size: 1.67 KB
Contents
<div id="content_detail" class="ui-corner-all ui-widget-content"> <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.profile if inventory_file.user.try(:profile) -%> </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 ui-widget-content"> <ul> <li><%= link_to t('page.new', :model => t('activerecord.models.inventory_file')), new_inventory_file_path -%></li> </ul> </div>
Version data entries
12 entries across 12 versions & 1 rubygems