Sha256: 6bbaca213c1e5e97ed287adb2d57b5722260c9ccd1f36261cd7fdec06671f186

Contents?: true

Size: 1.22 KB

Versions: 3

Compression:

Stored size: 1.22 KB

Contents

<div id="content_detail" class="ui-corner-all ui-widget-content">
<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? :delete, 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>

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

<div id="submenu" class="ui-corner-all ui-widget-content">
  <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

3 entries across 3 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre55 app/views/exemplifies/index.html.erb
enju_biblio-0.1.0.pre54 app/views/exemplifies/index.html.erb
enju_biblio-0.1.0.pre53 app/views/exemplifies/index.html.erb