Sha256: 0a08e1803caded0c0bc346277054350436c23180a8665c6ed272c2a85f44605e

Contents?: true

Size: 1.19 KB

Versions: 6

Compression:

Stored size: 1.19 KB

Contents

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

<table class="table table-striped index">
  <tr>
    <th><%= t('activerecord.models.manifestation') -%></th>
    <th><%= t('activerecord.models.item') -%></th>
    <%- if can? :create, Exemplify -%>
      <th></th>
    <%- end -%>
  </tr>

<%- @exemplifies.each do |exemplify| -%>
  <tr class="line<%= cycle("0", "1") -%>">
    <td><%= link_to exemplify.manifestation.original_title, exemplify.manifestation -%></td>
    <td><%= link_to exemplify.item.item_identifier, exemplify.item -%></td>
    <%- if can? :destroy, exemplify -%>
      <td>
        <%= link_to t('page.show'), exemplify -%>
        <%= link_to t('page.destroy'), exemplify, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
      </td>
    <%- end -%>
  </tr>
<%- end -%>
</table>

<%= will_paginate(@exemplifies) -%>
</div>
</div>

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
enju_biblio-0.0.9 app/views/exemplifies/index.html.erb
enju_biblio-0.0.8 app/views/exemplifies/index.html.erb
enju_biblio-0.0.7 app/views/exemplifies/index.html.erb
enju_biblio-0.0.6 app/views/exemplifies/index.html.erb
enju_biblio-0.0.5 app/views/exemplifies/index.html.erb
enju_biblio-0.0.4 app/views/exemplifies/index.html.erb