Sha256: 838636020e626968282571a9de243b81ef56568d884d91e5b37459e4a5c1e3fd

Contents?: true

Size: 1.05 KB

Versions: 9

Compression:

Stored size: 1.05 KB

Contents

<div style="color: red"><%= flash[:message] -%></div>

<div class="search_form">
<%= form_for :checked_item, html: {method: :post}, url: checked_items_path(basket_id: @basket.id), 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: 'datepicker' %>
    <%= t('checked_item.ignore_restriction') -%>: <%= f.check_box :ignore_restriction -%>
  </p>
<%- end -%>

<script type="text/javascript">
$(document).ready(function(){
  $('.datepicker').datepicker({dateFormat: 'yy-mm-dd'});
  $('#checked_item_item_identifier').focus().select();
});
</script>
</div>

<%= render 'checked_item' %>

<%= form_for(:basket, url: basket_path(@basket), html: { method: :put }) do |f| -%>
  <div>
    <%= f.submit t('checked_item.checkout'), 'data-disable-with' => t('page.saving') -%>
  </div>
<%- end -%>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
enju_circulation-0.1.0.pre46 app/views/checked_items/_list.html.erb
enju_circulation-0.1.0.pre45 app/views/checked_items/_list.html.erb
enju_circulation-0.1.0.pre44 app/views/checked_items/_list.html.erb
enju_circulation-0.1.0.pre43 app/views/checked_items/_list.html.erb
enju_circulation-0.1.0.pre42 app/views/checked_items/_list.html.erb
enju_circulation-0.1.0.pre41 app/views/checked_items/_list.html.erb
enju_circulation-0.1.0.pre40 app/views/checked_items/_list.html.erb
enju_circulation-0.1.0.pre39 app/views/checked_items/_list.html.erb
enju_circulation-0.1.0.pre38 app/views/checked_items/_list.html.erb