Sha256: 5541e1c75751f96e9b3ef8a9553da27993139b70f1e4f941bcd53bb05327b82e

Contents?: true

Size: 1.58 KB

Versions: 40

Compression:

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

40 entries across 40 versions & 1 rubygems

Version Path
enju_circulation-0.3.11 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.3.10 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.3.9 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.3.8 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.3.7 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.3.6 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.3.5 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.3.4 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.3.3 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.3.2 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.3.1 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.3.0 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.3.0.rc.1 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.3.0.beta.1 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.2.5 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.2.4 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.2.3 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.2.2 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.2.1 app/views/item_has_use_restrictions/index.html.erb
enju_circulation-0.2.0 app/views/item_has_use_restrictions/index.html.erb