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