Sha256: 8753c59a5e73ddc02bd014dcc804023a92bbfba2d45242836de353000499be37

Contents?: true

Size: 1.23 KB

Versions: 19

Compression:

Stored size: 1.23 KB

Contents

<div id="content_detail" class="ui-corner-all">
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.produce')) -%></h1>
<div id="content_list">
  <h2 class="resource_title">
    <%= link_to patron.full_name, patron -%>
  </h2>
<table class="table table-striped index">
  <tr>
    <th><%= t('activerecord.models.manifestation') -%></th>
    <th><%= t('page.created_at') -%></th>
    <th><%= t('page.updated_at') -%></th>
    <th></th>
  </tr>

<%- @produces.each do |produce| -%>
  <tr class="line<%= cycle("0", "1") -%>">
    <td><%= link_to produce.manifestation.try(:original_title), produce.manifestation -%></td>
    <td><%= l(produce.created_at) -%></td>
    <td><%= l(produce.updated_at) -%></td>
    <td>
      <%- if can? :delete, produce -%>
        <%= link_to t('page.destroy'), patron_produce_path(patron, produce), :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
      <%- end -%>
    </td>
  </tr>
<%- end -%>
</table>

<%= paginate(@produces) -%>

</div>
</div>

<div id="submenu" class="ui-corner-all">
  <ul>
    <%- if can? :create, Produce -%>
      <li><%= link_to t('page.new', :model => t('activerecord.models.produce')), new_patron_produce_path(patron) -%></li>
    <%- end -%>
  </ul>
</div>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre42 app/views/produces/_index_patron.html.erb
enju_biblio-0.1.0.pre41 app/views/produces/_index_patron.html.erb
enju_biblio-0.1.0.pre40 app/views/produces/_index_patron.html.erb
enju_biblio-0.1.0.pre39 app/views/produces/_index_patron.html.erb
enju_biblio-0.1.0.pre38 app/views/produces/_index_patron.html.erb
enju_biblio-0.1.0.pre37 app/views/produces/_index_patron.html.erb
enju_biblio-0.1.0.pre36 app/views/produces/_index_patron.html.erb
enju_biblio-0.1.0.pre35 app/views/produces/_index_patron.html.erb
enju_biblio-0.1.0.pre34 app/views/produces/_index_patron.html.erb
enju_biblio-0.1.0.pre33 app/views/produces/_index_patron.html.erb
enju_biblio-0.1.0.pre32 app/views/produces/_index_patron.html.erb
enju_biblio-0.1.0.pre31 app/views/produces/_index_patron.html.erb
enju_biblio-0.1.0.pre30 app/views/produces/_index_patron.html.erb
enju_biblio-0.1.0.pre29 app/views/produces/_index_patron.html.erb
enju_biblio-0.1.0.pre28 app/views/produces/_index_patron.html.erb
enju_biblio-0.1.0.pre27 app/views/produces/_index_patron.html.erb
enju_biblio-0.1.0.pre26 app/views/produces/_index_patron.html.erb
enju_biblio-0.1.0.pre25 app/views/produces/_index_patron.html.erb
enju_biblio-0.1.0.pre24 app/views/produces/_index_patron.html.erb