Sha256: 31eaf1064aa9f2e1e1098e8307df50b49a755d00f6a37502bea3559838b264dc

Contents?: true

Size: 1.34 KB

Versions: 39

Compression:

Stored size: 1.34 KB

Contents

<div id="content_detail" class="ui-corner-all ui-widget-content">
<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.agent') -%></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.agent.full_name, donate.agent -%></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 policy(donate).destroy? -%>
        <%= 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 ui-widget-content">
  <ul>
    <%- if policy(Donate).create? -%>
      <li><%= link_to t('page.new', model: t('activerecord.models.donate')), new_donate_path -%></li>
    <%- end -%>
  </ul>
</div>

Version data entries

39 entries across 38 versions & 2 rubygems

Version Path
enju_biblio-0.3.18 app/views/donates/index.html.erb
enju_biblio-0.3.17 app/views/donates/index.html.erb
enju_biblio-0.3.16 app/views/donates/index.html.erb
enju_biblio-0.3.15 app/views/donates/index.html.erb
enju_biblio-0.3.14 app/views/donates/index.html.erb
enju_biblio-0.3.13 app/views/donates/index.html.erb
enju_biblio-0.3.12 app/views/donates/index.html.erb
enju_biblio-0.3.11 app/views/donates/index.html.erb
enju_biblio-0.3.10 app/views/donates/index.html.erb
enju_biblio-0.3.10.rc.3 app/views/donates/index.html.erb
enju_biblio-0.3.10.rc.2 app/views/donates/index.html.erb
enju_biblio-0.3.10.rc.1 app/views/donates/index.html.erb
enju_biblio-0.3.9 app/views/donates/index.html.erb
enju_biblio-0.4.0.rc.1 app/views/donates/index.html.erb
enju_biblio-0.3.8 app/views/donates/index.html.erb
enju_biblio-0.3.7 app/views/donates/index.html.erb
enju_biblio-0.3.6 app/views/donates/index.html.erb
enju_biblio-0.4.0.beta.2 app/views/donates/index.html.erb
enju_biblio-0.4.0.beta.1 app/views/donates/index.html.erb
enju_biblio-0.3.5 app/views/donates/index.html.erb