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"}, builder: SimpleForm::FormBuilder do |f| fieldset .form-group .row .col-sm-3 = f.input :codigo_eq, label: 'Código' .col-sm-3 = f.input :data_do_recebimento_eq, label: 'Data do Recebimento', wrapper: 'calendar_field', input_html: { class: "date-picker", autocomplete: "off" } .col-sm-3 = f.input :status_eq, label: 'Status', collection: Patrimonio::RecebimentoDeBem.status_i18n.transform_keys{ |key| Patrimonio::RecebimentoDeBem.status[key] }, value_method: :first, label_method: :second, include_blank: "Selecione", input_html: { class: "s2" } .col-sm-3 = f.input :classificacao_eq, label: 'Classificação', collection: Patrimonio::RecebimentoDeBem.classificacoes_i18n.transform_keys{ |key| Patrimonio::RecebimentoDeBem.classificacoes[key] }, value_method: :first, label_method: :second, include_blank: "Selecione", input_html: { class: "s2" } .row .col-sm-6 = f.input :sub_elemento_de_despesa_id_eq, label: 'Sub Elemento de Despesa', collection: @sub_elementos_de_despesa_permanente, label_method: :codigo_e_descricao, include_blank: "Selecione", input_html: { class: "s2" } .col-sm-6 = f.input :unidade_orcamentaria_id_eq, label: 'Unidade Orçamentária', collection: @unidades_orcamentarias, label_method: :codigo_e_nome, include_blank: "Selecione", input_html: { class: "s2" } .row .col-sm-4 label.control-label Ordem de fornecimento = f.select :recebimento_de_material_ordem_de_compra_id_eq, options_from_collection_for_select( \ @ordens_de_compra, :id, :numero_e_fornecedor, @q.recebimento_de_material_ordem_de_compra_id_eq \ ), { include_blank: "Selecione" }, class: "form-control s2" .col-sm-3 label.control-label Nº do Empenho = f.text_field :recebimento_de_material_ordem_de_compra_empenho_numero_do_empenho_eq, class: "form-control" .col-sm-3 label.control-label Nº da Nota Fiscal = f.text_field :recebimento_de_material_numero_da_nota_eq, class: "form-control" .form-actions.form-search-actions = f.submit "Filtrar", class: "btn btn-default btn-sm"