Sha256: 73a72c6f6a4feb9a942d1dc74dbb8adf5c8a9d17424b9020d06e3231dd05168b
Contents?: true
Size: 863 Bytes
Versions: 126
Compression:
Stored size: 863 Bytes
Contents
<h1 class="title"><%= t('page.new', :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 -%> <%= link_to @item.item_identifier, @item -%> (<%= link_to @item.manifestation.original_title, @item.manifestation -%>) <%= f.hidden_field :item_id, :value => @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.back'), item_has_use_restrictions_path -%>
Version data entries
126 entries across 126 versions & 2 rubygems