.widget header> h5 ' Lista de span.fw-semi-bold Documentos .widget-body - if @documentos.empty? h6 Nenhum registro encontrado. - else .table-responsive table.table.table-hover thead tr th Título th width="150" tbody - @documentos.each do |documento| tr td = documento.titulo td = botao_com_permissao edit_base_documento_path(documento), {acao: :update}, { \ class_icone:'icone-editar', params: {class: 'btn btn-default btn-sm mb-xs', title: "Editar"}, } = botao_com_permissao documento, {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 @documentos, previous_label: "<", next_label: ">"