Sha256: c10a2c8555753c14ebc490c2a32ac7eaa538fb500b71bc87be1b0ce28282e258

Contents?: true

Size: 1.19 KB

Versions: 23

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>

<%= 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

23 entries across 23 versions & 1 rubygems

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