Sha256: e28c65d4790bf6b159b16c43b6cfe2c3f79139dfaad454733340502e34de4957

Contents?: true

Size: 1.59 KB

Versions: 76

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, :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

76 entries across 76 versions & 2 rubygems

Version Path
enju_circulation-0.0.31 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.30 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.29 app/views/item_has_use_restrictions/index.html.erb
enju_message-0.0.18 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.28 app/views/item_has_use_restrictions/index.html.erb
enju_message-0.0.17 app/views/item_has_use_restrictions/index.html.erb
enju_message-0.0.16 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.27 app/views/item_has_use_restrictions/index.html.erb
enju_message-0.0.15 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.26 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.25 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.24 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.23 app/views/item_has_use_restrictions/index.html.erb
enju_message-0.0.14 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.22 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.21 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.20 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.19 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.18 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.0.17 app/views/item_has_use_restrictions/index.html.erb