Sha256: 8bd994104ce1cb0572f721f513f8160b0310dd92088084883f134f9e12240514

Contents?: true

Size: 876 Bytes

Versions: 1

Compression:

Stored size: 876 Bytes

Contents

= contextual_links

= boot_page_title

= simple_form_for '', :method => :get, remote: true do |f|
  .container-fluid
    .row-fluid
      .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)

.index
  = render 'list'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
has_accounts_engine-3.0.0.beta10 app/views/bookings/index.html.haml