Sha256: 41cca8a958c1e9dd1e469f79eaae571894213c141aed69298510ab2fadd699a5

Contents?: true

Size: 1.34 KB

Versions: 20

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 can? :delete, 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 ui-widget-content">
  <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

20 entries across 20 versions & 1 rubygems

Version Path
enju_biblio-0.1.3 app/views/donates/index.html.erb
enju_biblio-0.1.2 app/views/donates/index.html.erb
enju_biblio-0.1.1 app/views/donates/index.html.erb
enju_biblio-0.1.0 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre71 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre70 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre69 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre68 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre67 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre66 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre65 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre64 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre63 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre62 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre61 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre60 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre59 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre58 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre57 app/views/donates/index.html.erb
enju_biblio-0.1.0.pre56 app/views/donates/index.html.erb