Sha256: f775819b25a9f0561089ecfcdc624dbab735469c07ee577fa829f6038c571cee

Contents?: true

Size: 947 Bytes

Versions: 18

Compression:

Stored size: 947 Bytes

Contents

<div style="color: red"><%= flash[:message] -%></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>
    <%= label_tag :item_identifier, 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'), 'data-disable-with' => t('page.saving') -%>
  </p>
<%- end -%>

<%= javascript_tag("$(function(){$('#checked_item_item_identifier').focus().select()})") %>
</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'), 'data-disable-with' => t('page.saving') -%>
  </div>
<%- end -%>

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
enju_circulation-0.1.0.pre29 app/views/checked_items/_list.html.erb
enju_circulation-0.1.0.pre28 app/views/checked_items/_list.html.erb
enju_circulation-0.1.0.pre27 app/views/checked_items/_list.html.erb
enju_circulation-0.1.0.pre26 app/views/checked_items/_list.html.erb
enju_circulation-0.1.0.pre25 app/views/checked_items/_list.html.erb
enju_circulation-0.1.0.pre24 app/views/checked_items/_list.html.erb
enju_circulation-0.1.0.pre23 app/views/checked_items/_list.html.erb
enju_circulation-0.1.0.pre22 app/views/checked_items/_list.html.erb
enju_circulation-0.1.0.pre21 app/views/checked_items/_list.html.erb
enju_circulation-0.1.0.pre20 app/views/checked_items/_list.html.erb
enju_circulation-0.1.0.pre19 app/views/checked_items/_list.html.erb
enju_circulation-0.1.0.pre18 app/views/checked_items/_list.html.erb
enju_circulation-0.1.0.pre17 app/views/checked_items/_list.html.erb
enju_circulation-0.1.0.pre16 app/views/checked_items/_list.html.erb
enju_circulation-0.1.0.pre15 app/views/checked_items/_list.html.erb
enju_circulation-0.1.0.pre14 app/views/checked_items/_list.html.erb
enju_circulation-0.1.0.pre13 app/views/checked_items/_list.html.erb
enju_circulation-0.1.0.pre12 app/views/checked_items/_list.html.erb