Sha256: 54f790d58e7f774e37b5742bbb4a6655f6542c8d3561d74233f5986d522069bc

Contents?: true

Size: 1.6 KB

Versions: 14

Compression:

Stored size: 1.6 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>

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

14 entries across 14 versions & 1 rubygems

Version Path
enju_circulation-0.0.71 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.70 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.69 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.68 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.67 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.66 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.65 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.64 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.63 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.62 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.61 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.60 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.59 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.58 app/views/item_has_use_restrictions/index.html.erb