Sha256: b206a674b65015e33b57e58ea8e28f803e0aafa4fbac5c700e74cc8cd17c8322

Contents?: true

Size: 1.6 KB

Versions: 1

Compression:

Stored size: 1.6 KB

Contents

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

<table class="index">
  <tr>
    <th id="edit_icons">Id</th>
    <th><%= t('activerecord.models.user') -%></th>
    <th><%= t('activerecord.attributes.import_request.isbn') -%></th>
    <th><%= t('page.created_at') -%></th>
    <th><%= t('activerecord.attributes.import_request.state') -%></th>
    <th><%= t('activerecord.models.manifestation') -%></th>
    <th id="edit_icons"></th>
  </tr>

<%- @import_requests.each do |import_request| -%>
  <tr class="line<%= cycle("0", "1") -%>">
    <td><%= link_to import_request.id, import_request -%></td>
    <td><%= link_to import_request.user.username, import_request.user if import_request.user -%></td>
    <td><%= import_request.isbn -%></td>
    <td><%=l import_request.created_at -%></td>
    <td><%= localized_state(import_request.state) -%></td>
    <td><%= link_to import_request.manifestation.original_title, import_request.manifestation if import_request.manifestation -%></td>
    <td>
      <%- if can? :destroy, import_request -%>
        <%= link_to image_tag('icons/delete.png', :size => '16x16', :alt => t('page.destroy')), import_request, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
      <%- end -%>
    </td>
  </tr>
<%- end -%>
</table>

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enju_biblio-0.0.3 app/views/import_requests/index.html.erb