Sha256: 9dd0d303764a8ce5b85635e4aeba59103d24407ef21d2e3b67e0ac67895267c4

Contents?: true

Size: 1.59 KB

Versions: 36

Compression:

Stored size: 1.59 KB

Contents

<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.item_has_use_restriction')) -%></h1>

<table>
  <tr>
    <th><%= t('activerecord.models.item') -%></th>
    <th><%= t('activerecord.attributes.item.item_identifier') -%></th>
    <th><%= t('activerecord.models.manifestation') -%></th>
    <th><%= t('activerecord.models.use_restriction') -%></th>
  </tr>

<%- @item_has_use_restrictions.each do |item_has_use_restriction| -%>
  <tr>
    <td><%= link_to item_has_use_restriction.item_id, item_has_use_restriction.item -%></td>
    <td><%= link_to item_has_use_restriction.item.item_identifier, item_has_use_restriction.item -%></td>
    <td><%= link_to item_has_use_restriction.item.manifestation.original_title, item_has_use_restriction.item.manifestation -%></td>
    <td><%= link_to item_has_use_restriction.use_restriction.display_name.localize, item_has_use_restriction.use_restriction -%></td>
    <td><%= link_to t('page.show'), item_has_use_restriction -%></td>
    <td><%= link_to t('page.edit'), edit_item_has_use_restriction_path(item_has_use_restriction) -%></td>
    <td><%= link_to t('page.destroy'), item_has_use_restriction, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%></td>
  </tr>
<%- end -%>
</table>

<%= paginate(@item_has_use_restrictions) -%>
<br />

<%- if @item -%>
  <%= link_to t('page.new', :model => t('activerecord.models.item_has_use_restriction')), new_item_item_has_use_restriction_path(@item) -%>
<%- else -%>
  <%= link_to t('page.new', :model => t('activerecord.models.item_has_use_restriction')), new_item_has_use_restriction_path -%>
<%- end -%>

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
enju_circulation-0.1.0.pre36 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.1.0.pre35 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.1.0.pre34 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.1.0.pre33 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.1.0.pre32 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.1.0.pre31 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.1.0.pre30 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.1.0.pre29 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.1.0.pre28 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.1.0.pre27 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.1.0.pre26 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.1.0.pre25 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.1.0.pre24 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.1.0.pre23 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.1.0.pre22 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.1.0.pre21 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.1.0.pre20 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.1.0.pre19 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.1.0.pre18 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.1.0.pre17 app/views/item_has_use_restrictions/index.html.erb