section.widget.widget-search header h5 Filtros .widget-controls a data-widgster="expand" href="#" style="display: none;" title="Expand" i.icone-cadastrar a data-widgster="collapse" href="#" title="Collapse" i.glyphicon.glyphicon-minus .widget-body = search_form_for @q, :html => {class: "form-vertical"} do |f| fieldset .form-group .row .col-sm-2 label.control-label Data de Arrecadação = f.text_field :data_de_arrecadacao_eq, class: "form-control input-sm date-picker", autocomplete: "off" .col-sm-2 label.control-label Código = f.text_field :id_eq, class: 'form-control input-sm' .col-sm-3 label.control-label Conta Bancária = f.select :conta_bancaria_id_eq, options_from_collection_for_select( \ @contas_bancarias, :id, :to_s, \ @q.conta_bancaria_id_eq \ ), { include_blank: 'Selecione' }, class: 'form-control s2' .col-sm-2 label.control-label Valor = f.text_field :valor_eq, class: "form-control valor", placeholder: 'R$ 0,00', data: { autonumeric: true, 'a-sep'=> '.', 'a-dec'=>',', 'a-sign'=> 'R$ ', 'v-min'=> '0.00', 'v-max'=> '9999999999.99' } .col-sm-2 label.control-label Status = f.select :status_eq, options_for_select( Contabilidade::LoteDeReceita.status.collect { |t| [ "#{t[0].humanize}", t[1] ] }, selected: @q.status_eq ), { include_blank: 'Selecione' }, class: 'form-control s2' .form-actions.form-search-actions = f.submit "Filtrar", class: "btn btn-default btn-sm"