.widget header> h5 ' Lista de span.fw-semi-bold Comites De Investimento .widget-body - if @comites_de_investimento.empty? h6 Nenhum registro encontrado. - else .table-responsive table.table.table-hover thead tr th Data da criação th Decreto th Data da Extinção th Situação th width="150" tbody - @comites_de_investimento.each do |comite_de_investimento| tr td = comite_de_investimento.data_da_criacao td = comite_de_investimento.decreto.try(:numero) td = comite_de_investimento.data_de_extincao td align="center" - if comite_de_investimento.extinta? = bs_label 'Extinta', 'warning' - else = bs_label 'Ativo', 'success' td = link_to comite_de_investimento, class: "btn btn-default btn-sm mb-xs", title: "Ver Detalhes" do i.icone-detalhar - if exercicio_em_vigor? - if !comite_de_investimento.extinta? = botao_com_permissao edit_contabilidade_comite_de_investimento_path(comite_de_investimento), {acao: :update}, { \ class_icone:'icone-editar', params: {class: 'btn btn-default btn-sm mb-xs', title: "Editar"}, } = botao_com_permissao comite_de_investimento, {acao: :destroy}, { \ class_icone:'icone-excluir', params: { \ method: :delete, data: { confirm: 'Tem certeza?' }, class: 'btn btn-default btn-sm mb-xs', title: "Apagar", }, } = will_paginate@comites_de_investimento, previous_label: "<", next_label: ">"