.widget header> h5 | Lista de span.fw-semi-bold | Funções .widget-body - if @base_funcoes.empty? h6 | Nenhum registro encontrado. - else .table-responsive table.table.table-hover thead tr th | Código th | Nome th | Sub-Funções th[width="150"] tbody - @base_funcoes.each do |base_funcao| tr td = base_funcao.codigo td = base_funcao.nome td = base_funcao.subfuncoes.size td = link_to base_funcao, class: "btn btn-default btn-sm mb-xs", title: "Ver Detalhes" do i.icone-detalhar = will_paginate @base_funcoes, previous_label: "<", next_label: ">"