Sha256: 3ac6bc77d52f0091639a04ee4d05d32f94a6d73134c1bf5781068666e36167ff

Contents?: true

Size: 1.29 KB

Versions: 13

Compression:

Stored size: 1.29 KB

Contents

<div id="content_detail" class="ui-corner-all">
  <h1 class="title"><%= t('page.new', :model => t('activerecord.models.inter_library_loan')) -%></h1>
<div id="content_list">

<%= form_for(@inter_library_loan) do |f| -%>
  <%= f.error_messages -%>

  <div class="field">
    <%= f.label t('inter_library_loan.borrowing_library') -%><br />
    <%= f.select(:borrowing_library_id, @libraries.collect{|l| [l.display_name.localize, l.id]}) -%>
  </div>

  <div class="field">
    <%= f.label :requested_at -%><br />
    <%= f.text_field :requested_at, :class => 'date_field' -%>
  </div>

  <div class="field">
    <%= f.label t('activerecord.models.item') -%><br />
    <%- if @item -%>
      <%= link_to @item.shelf.library.display_name.localize, @item.shelf.library -%>
      <%= link_to @item.item_identifier, @item -%>
      (<%= link_to @item.manifestation.original_title, @item.manifestation -%>)
      <%= f.hidden_field :item_identifier, :value => @item.item_identifier -%>
    <%- else -%>
      <%= f.text_field :item_identifier, :class => 'resource_item_identifier' -%>
    <%- end -%>
  </div>

  <div class="actions">
    <%= f.submit %>
  </div>
<%- end -%>

</div>
</div>

<div id="submenu" class="ui-corner-all">
  <ul>
    <li><%= link_to t('page.back'), inter_library_loans_path -%></li>
  </ul>
</div>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
enju_inter_library_loan-0.1.0.pre7 app/views/inter_library_loans/new.html.erb
enju_inter_library_loan-0.1.0.pre6 app/views/inter_library_loans/new.html.erb
enju_inter_library_loan-0.1.0.pre5 app/views/inter_library_loans/new.html.erb
enju_inter_library_loan-0.1.0.pre4 app/views/inter_library_loans/new.html.erb
enju_inter_library_loan-0.1.0.pre3 app/views/inter_library_loans/new.html.erb
enju_inter_library_loan-0.1.0.pre2 app/views/inter_library_loans/new.html.erb
enju_inter_library_loan-0.1.0.pre app/views/inter_library_loans/new.html.erb
enju_inter_library_loan-0.0.6 app/views/inter_library_loans/new.html.erb
enju_inter_library_loan-0.0.5 app/views/inter_library_loans/new.html.erb
enju_inter_library_loan-0.0.4 app/views/inter_library_loans/new.html.erb
enju_inter_library_loan-0.0.3 app/views/inter_library_loans/new.html.erb
enju_inter_library_loan-0.0.2 app/views/inter_library_loans/new.html.erb
enju_inter_library_loan-0.0.1 app/views/inter_library_loans/new.html.erb