.widget header> h5 ' Lista de span.fw-semi-bold Eventos Contábeis .widget-body - if @eventos_contabeis.empty? h6 Nenhum registro encontrado. - else .table-responsive table.table.table-hover thead tr th Detalhamento th Nome th Classe th Tipo th Ação do sistema th Padrão? th width="150" tbody - @eventos_contabeis.each do |evento_contabil| tr td = evento_contabil.detalhamento td = evento_contabil.nome td = evento_contabil.localizar(:classe) td = evento_contabil.localizar(:tipo) td = evento_contabil.try(:acao_do_sistema).try(:nome) td = label_sim_nao(evento_contabil.padrao) td = link_to evento_contabil, class: "btn btn-default btn-sm mb-xs", title: "Ver Detalhes" do i.icone-detalhar - if current_usuario.master? && !evento_contabil.fixo? = botao_com_permissao edit_contabilidade_evento_contabil_path(evento_contabil), {acao: :update}, { \ class_icone:'icone-editar', params: {class: 'btn btn-default btn-sm mb-xs', title: "Editar"}, } - if evento_contabil.pode_destruir? = botao_com_permissao evento_contabil, {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@eventos_contabeis, previous_label: "<", next_label: ">"