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

Version Path
enju_circulation-0.1.0.pre36 app/views/item_has_use_restrictions/new.html.erb
enju_circulation-0.1.0.pre35 app/views/item_has_use_restrictions/new.html.erb
enju_circulation-0.1.0.pre34 app/views/item_has_use_restrictions/new.html.erb
enju_circulation-0.1.0.pre33 app/views/item_has_use_restrictions/new.html.erb
enju_circulation-0.1.0.pre32 app/views/item_has_use_restrictions/new.html.erb
enju_circulation-0.1.0.pre31 app/views/item_has_use_restrictions/new.html.erb
enju_circulation-0.1.0.pre30 app/views/item_has_use_restrictions/new.html.erb
enju_circulation-0.1.0.pre29 app/views/item_has_use_restrictions/new.html.erb
enju_circulation-0.1.0.pre28 app/views/item_has_use_restrictions/new.html.erb
enju_circulation-0.1.0.pre27 app/views/item_has_use_restrictions/new.html.erb
enju_circulation-0.1.0.pre26 app/views/item_has_use_restrictions/new.html.erb
enju_circulation-0.1.0.pre25 app/views/item_has_use_restrictions/new.html.erb
enju_circulation-0.1.0.pre24 app/views/item_has_use_restrictions/new.html.erb
enju_circulation-0.1.0.pre23 app/views/item_has_use_restrictions/new.html.erb
enju_circulation-0.1.0.pre22 app/views/item_has_use_restrictions/new.html.erb
enju_circulation-0.1.0.pre21 app/views/item_has_use_restrictions/new.html.erb
enju_circulation-0.1.0.pre20 app/views/item_has_use_restrictions/new.html.erb
enju_circulation-0.1.0.pre19 app/views/item_has_use_restrictions/new.html.erb
enju_circulation-0.1.0.pre18 app/views/item_has_use_restrictions/new.html.erb
enju_circulation-0.1.0.pre17 app/views/item_has_use_restrictions/new.html.erb