Sha256: c0bed961a727d0c2c8a86461c72a51012e623c30bd12e472b2102b4024fc74a3

Contents?: true

Size: 575 Bytes

Versions: 5

Compression:

Stored size: 575 Bytes

Contents

<% if Order.count > 0 -%>
  <div class="date-form">
    <% form_tag url_for_options_for_orders_index, :method => 'get' do %>
    <%= hidden_field_tag 'state', @state  if @state %>
    <%= hidden_field_tag 'user', @user  if @user %>
    <%= hidden_field_tag 'trolley_id', @trolley.id if @trolley %>

    <label><%= t '.from'  -%></label>
    <%= text_field_tag 'from', @from, :class => 'date-picker' %>
    <label><%= t '.until' -%></label>
    <%= text_field_tag 'until', @until, :class => 'date-picker' %>
    <%= submit_tag t '.update' %>
    <% end %>
  </div>
<% end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
trollied-0.1.4 app/views/orders/_date_pickers.html.erb
trollied-0.1.3 app/views/orders/_date_pickers.html.erb
trollied-0.1.2 app/views/orders/_date_pickers.html.erb
trollied-0.1.1 app/views/orders/_date_pickers.html.erb
trollied-0.1.0 app/views/orders/_date_pickers.html.erb