2014-05-06 19:02:01 +02:00
|
|
|
.well.well-small
|
|
|
|
= search_form_for @q, url: url,
|
|
|
|
html: {data: {'submit-onchange' => true}, method: :get, remote: true, class: 'form-search'} do |f|
|
2019-10-30 12:00:46 +01:00
|
|
|
= f.text_field :note_cont, class: 'search-query', placeholder: t('ui.search_placeholder')
|
2014-05-06 19:02:01 +02:00
|
|
|
|
|
|
|
|
|
|
|
= label_tag 'q_created_on_gteq', FinancialTransaction.human_attribute_name(:created_on)
|
|
|
|
|
|
|
|
.input-append.input-prepend
|
|
|
|
= f.text_field :created_on_gteq, class: 'input-small datepicker'
|
|
|
|
%span.add-on -
|
|
|
|
= f.text_field :created_on_lteq, class: 'input-small search-query datepicker'
|
|
|
|
|
|
|
|
|
|
|
|
= label_tag 'q_amount_gteq', FinancialTransaction.human_attribute_name(:amount)
|
|
|
|
|
|
|
|
.input-append.input-prepend
|
|
|
|
%span.add-on= t 'number.currency.format.unit'
|
|
|
|
= f.text_field :amount_gteq, class: 'input-mini'
|
|
|
|
%span.add-on -
|
|
|
|
= f.text_field :amount_lteq, class: 'input-mini search-query'
|
2019-11-01 19:30:23 +01:00
|
|
|
|
|
|
|
|
|
|
|
%label{for: 'show_hidden'}
|
|
|
|
= check_box_tag 'show_hidden', 1, params[:show_hidden]
|
|
|
|
= t '.show_hidden'
|