Sha256: 3c4e046eea99d79d295cbcb3abfddd3a605db83bdaec174ccd9a03b3e1fbb87c

Contents?: true

Size: 881 Bytes

Versions: 5

Compression:

Stored size: 881 Bytes

Contents

= simple_form_for '', :method => :get, remote: true do |f|
  .container-fluid
    .row-fluid
      .span3= f.input :by_code, label: t_attr(:code), required: false
      .span6= f.input :by_text, label: t(:by_text, scope: 'bookings.search'), required: false
    .row-fluid
      .span3= f.input 'by_amount[from]', label: t(:by_amount_from, scope: 'bookings.search'), required: false
      .span3= f.input 'by_amount[to]', label: t(:by_amount_to, scope: 'bookings.search'), required: false
      .span3= f.input 'by_date[from]', label: t(:by_date_from, scope: 'bookings.search'), required: false, input_html: { value: try_parse_date(params[:by_date][:from]) }
      .span3= f.input 'by_date[to]', label: t(:by_date_to, scope: 'bookings.search'), required: false, input_html: { value: try_parse_date(params[:by_date][:to]) }

  .form-actions
    = f.button :submit, t_action(:search)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
has_accounts_engine-3.0.0.beta15 app/views/bookings/_filter_form.html.haml
has_accounts_engine-3.0.0.beta14 app/views/bookings/_filter_form.html.haml
has_accounts_engine-3.0.0.beta13 app/views/bookings/_filter_form.html.haml
has_accounts_engine-3.0.0.beta12 app/views/bookings/_filter_form.html.haml
has_accounts_engine-3.0.0.beta11 app/views/bookings/_filter_form.html.haml