Sha256: 39faf73d016aab8e2abb85aa7f409c72cf0e319222728876c8c3543eada5dcf7
Contents?: true
Size: 1.8 KB
Versions: 31
Compression:
Stored size: 1.8 KB
Contents
<div style="color: red"><%= flash[:message] -%></div> <div class="search_form"> <%= form_for @checkin, :html => {:method => :post}, :url => basket_checkins_path(@basket, :mode => 'list'), :remote => true do |f| -%> <p><%= t('activerecord.attributes.item.item_identifier') -%>: <%= f.text_field :item_identifier, :class => 'resource_item_identifier' -%> <%= f.hidden_field :librarian_id, :value => current_user.id -%> <%= submit_tag t('checkin.checkin') -%></p> <%- end -%> </div> <table class="index"> <tr> <th><%= t('page.title') -%></th> <th><%= t('activerecord.models.item') -%></th> <th><%= t('activerecord.attributes.checkout.due_date') -%></th> <th><%= t('activerecord.models.user') -%></th> </tr> <%- @checkins.each_with_index do |checkin, i| -%> <tr class="line<%= cycle("0", "1") -%>"> <td> <%= render 'manifestations/show_index', :manifestation => checkin.item.manifestation -%> </td> <td> <%= link_to checkin.item.item_identifier, checkin.item -%> <br /> (<%= link_to checkin.item.shelf.library.display_name.localize, checkin.item.shelf.library %>) <% if defined?(EnjuInterLibraryLoan) %> <br /> <%- unless checkin.item.shelf.library == current_user.library -%> <span style="color: red"><%= link_to t('activerecord.models.inter_library_loan'), item_inter_library_loans_path(checkin.item) -%></span> <%- end -%> <% end %> </td> <td> <%- if checkin.checkout -%> <%= l(checkin.checkout.due_date, :format => :only_date) -%> <%- end -%> </td> <td> <% if checkin.checkout.user %> <%= link_to checkin.checkout.user.username, checkin.checkout.user -%> <% end %> </td> </tr> <%- end -%> </table> <%= javascript_tag("$('#checkin_item_identifier').focus()") -%>
Version data entries
31 entries across 31 versions & 2 rubygems