.widget header> h5 | Lista de span.fw-semi-bold | Perfis .widget-body - if @perfis.empty? h6 | Nenhum perfil cadastrao. - else .table-responsive table.table.table-hover thead tr th width="20%" Perfil th width="20%" Qtd. de Usuários th Módulos th width="190px" tbody - @perfis.each do |perfil| tr td = perfil.nome&.upcase td = perfil.usuarios.size td = perfil.modulos.map { |m| m.controle.nome_de_exibicao.upcase }.join(", ") td = link_to perfil, class: "btn btn-default btn-sm mb-xs", title: "Ver Detalhes" do i.icone-detalhar - if esta_autorizado? :edit = link_to edit_perfil_path(perfil), class: "btn btn-default btn-sm mb-xs", title: "Editar" do i.icone-editar - if esta_autorizado? :destroy -if !perfil.fixo = link_to perfil, :method => :delete, data: { confirm: 'Tem certeza?' }, class: "btn btn-default btn-sm mb-xs", title: "Apagar" do i.icone-excluir = will_paginate@perfis, previous_label: "<", next_label: ">"