Sha256: 9a0c4033d296d2f89398917ab143378f77832a51a742c3b34743abdc324cf4b9
Contents?: true
Size: 1.01 KB
Versions: 45
Compression:
Stored size: 1.01 KB
Contents
<h1 class="title"><%= t('page.editing', model: t('activerecord.models.item_has_use_restriction')) -%></h1> <%= form_for(@item_has_use_restriction) do |f| -%> <%= f.error_messages -%> <div class="field"> <%= f.label t('activerecord.models.item') -%><br /> <%- if @item_has_use_restriction.item -%> <%= link_to @item_has_use_restriction.item.item_identifier, @item_has_use_restriction.item -%> (<%= link_to @item_has_use_restriction.item.manifestation.original_title, @item_has_use_restriction.item.manifestation -%>) <%= f.hidden_field :item_id -%> <%- else -%> <%= f.text_field :item_id -%> <%- end -%> </div> <div class="field"> <%= f.label t('activerecord.models.use_restriction') -%><br /> <%= f.select(:use_restriction_id, @use_restrictions.collect{|u| [u.name, u.id]}) -%> </div> <div class="actions"> <%= f.submit %> </div> <%- end -%> <%= link_to t('page.show'), @item_has_use_restriction -%> | <%= link_to t('page.back'), item_has_use_restrictions_path -%>
Version data entries
45 entries across 45 versions & 1 rubygems