Sha256: af6bb3d05ab444d3e4a0903e4c49c84ad782f557e0b14a7e2ec4fc07f80366c6

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 KB

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>
    <%= f.label :item_identifier, t('activerecord.attributes.item.item_identifier') -%>: <%= f.search_field :item_identifier -%>
    <%= f.submit t('page.read'), 'data-disable-with' => t('page.saving') -%><br />
    <%= f.label :due_date %>
    <%= f.text_field :due_date_string, :class => 'date_text_field', :placeholder => "#{t('page.example')}: #{1.month.from_now.strftime('%Y-%m-%d')}" %>
    <%= t('checked_item.ignore_restriction') -%>: <%= f.check_box :ignore_restriction -%>
  </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

1 entries across 1 versions & 1 rubygems

Version Path
enju_circulation-0.1.0.pre30 app/views/checked_items/_list.html.erb