Sha256: bdaf738f68162cb17a9939571f14e1bd5eaf0d585396c2ac56bcd8a0c5f92f06
Contents?: true
Size: 1.55 KB
Versions: 47
Compression:
Stored size: 1.55 KB
Contents
<div style="color: red"><%= flash[:message].try(:join) -%></div> <div class="search_form"> <%= form_for :checked_item, :html => {:method => :post}, :url => basket_checked_items_path(@basket, :mode => 'list'), :remote => true do |f| -%> <%= f.error_messages -%> <p> <%= t('activerecord.attributes.item.item_identifier') -%>: <%= f.text_field :item_identifier -%> <%= t('checked_item.ignore_restriction') -%>: <%= f.check_box :ignore_restriction -%> <%= submit_tag t('page.read') -%> </p> <%- end -%> <%= javascript_tag("$('#checked_item_item_identifier').focus()") -%> </div> <table class="index"> <tr> <th class="checked_item_title"><%= t('page.title') -%></th> <th><%= t('activerecord.attributes.item.item_identifier') -%></th> <th><%= t('activerecord.attributes.checkout.due_date') -%></th> <th></th> </tr> <%- @checked_items.each_with_index do |checked_item, i| -%> <tr class="line<%= cycle("0", "1") -%>"> <td> <%= render 'manifestations/show_index', :manifestation => checked_item.item.manifestation -%> </td> <td><%= link_to checked_item.item.item_identifier, checked_item.item -%></td> <td><%= l(checked_item.due_date, :format => :only_date) -%></td> <td><%= link_to t('page.destroy'), checked_item, :confirm => t('page.are_you_sure'), :method => :delete -%></td> </tr> <%- end -%> </table> <%= form_for(:basket, :url => {:controller => 'baskets', :action => 'update', :id => @basket.id}, :html => { :method => :put }) do |f| -%> <div> <%= f.submit t('checked_item.checkout') -%> </div> <%- end -%>
Version data entries
47 entries across 47 versions & 2 rubygems