Sha256: 4608bb9065336a08cc50c9d2460d39155a574742c42688648d4611804fba7fdd

Contents?: true

Size: 894 Bytes

Versions: 5

Compression:

Stored size: 894 Bytes

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), :remote => true do |f| -%>
  <%= f.error_messages -%>
  <p>
    <%= t('activerecord.attributes.item.item_identifier') -%>: <%= f.search_field :item_identifier -%>
    <%= t('checked_item.ignore_restriction') -%>: <%= f.check_box :ignore_restriction -%>
    <%= f.submit t('page.read'), :disable_with => t('page.saving') -%>
  </p>
<%- end -%>
<%= javascript_tag("$('#checked_item_item_identifier').focus()") -%>
</div>

<%= render 'checked_item' %>

<%= form_for(:basket, :url => {:controller => 'baskets', :action => 'update', :id => @basket.id}, :html => { :method => :put }) do |f| -%>
  <div>
    <%= f.submit t('checked_item.checkout'), :disable_with => t('page.saving') -%>
  </div>
<%- end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
enju_circulation-0.0.34 app/views/checked_items/_list.html.erb
enju_circulation-0.0.33 app/views/checked_items/_list.html.erb
enju_circulation-0.0.32 app/views/checked_items/_list.html.erb
enju_circulation-0.0.31 app/views/checked_items/_list.html.erb
enju_circulation-0.0.30 app/views/checked_items/_list.html.erb