Sha256: e673be7ef1da52b1c47ffa545dff5ed0391ffd466edded5d99f494820a37ca33

Contents?: true

Size: 1.54 KB

Versions: 1

Compression:

Stored size: 1.54 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="table table-striped index">
  <tr>
    <th>ID</th>
    <th>
      <%= t('activerecord.models.user') -%><br />
      <%= t('activerecord.attributes.import_request.isbn') -%><br />
      <%= t('page.created_at') -%>
    </th>
    <th><%= t('activerecord.attributes.import_request.state') -%></th>
    <th><%= t('activerecord.models.manifestation') -%></th>
    <th></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? :delete, import_request -%>
        <%= link_to t('page.destroy'), import_request, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
      <%- end -%>
    </td>
  </tr>
<%- end -%>
</table>

<%= 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.1.0.pre52 app/views/import_requests/index.html.erb