Sha256: 88da1d504cc0b4e9eea697c3c21fdfd8a3b10dbe6be1af3bd2d7d5fd2e2094f3

Contents?: true

Size: 1.33 KB

Versions: 23

Compression:

Stored size: 1.33 KB

Contents

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

<table class="table table-striped index">
  <tr>
    <th><%= t('activerecord.models.patron') -%></th>
    <th><%= t('activerecord.models.manifestation') -%></th>
    <th><%= t('activerecord.models.item') -%></th>
    <th></th>
    <th></th>
  </tr>

<%- @donates.each do |donate| -%>
  <tr class="line<%= cycle("0", "1") -%>">
    <td><%= link_to donate.patron.full_name, donate.patron -%></td>
    <td>
      <%= render 'manifestations/show_index', :manifestation => donate.item.manifestation -%>
    </td>
    <td>
      <%= link_to donate.item.item_identifier, donate.item -%>
    </td>
    <td><%= link_to t('page.show'), donate -%></td>
    <td>
      <%- if can? :destroy, donate -%>
        <%= link_to t('page.edit'), edit_donate_path(donate) -%>
        <%= link_to t('page.destroy'), donate, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
      <%- end -%>
    </td>
  </tr>
<%- end -%>
</table>

<%= paginate(@donates) -%>

</div>
</div>

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

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre23 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre22 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre21 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre20 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre19 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre18 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre17 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre16 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre15 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre14 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre13 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre12 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre11 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre10 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre9 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre8 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre7 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre6 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre5 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre4 app/views/donates/index.html.erb