.widget .widget-body = simple_form_for(@lote, url: salvar_lote_individual_path, method: :patch) do |f| = f.input :gerando_lote_individual, as: :hidden, input_html: { value: true } .row .col-sm-4 = f.input :mes_de_referencia, label: 'Mês de referência', collection: @meses.flatten, value_method: :second, label_method: :first, include_blank: 'Selecione', input_html: { class: 's2' } .col-sm-4 = f.input :lote, label: 'Lote', collection: @metodos_sim, value_method: :first, label_method: :second, include_blank: 'Selecione', input_html: { class: 's2' } .col-sm-3 = f.input :tipo_de_poder , label: 'Poder Associado', collection: @tipo_de_poder, value_method: :second, label_method: :first, include_blank: 'Selecione', input_html: { class: 's2' } .form-actions = f.submit 'Salvar', class: 'btn btn-primary' = link_to "Cancelar", tcm_lotes_path(exercicio: orcamento_atual.exercicio), class: "btn btn-default"