.widget header> h5 ' Lista de span.fw-semi-bold Lotes .widget-body - if @erros_dos_lotes.empty? h6 Nenhum registro encontrado. - else .table-responsive table.table.table-hover thead tr th Número th Exercício th Tipo th Qtd. Erros th Situação th width="50" tbody - @erros_dos_lotes.each do |erros_do_lote| tr td = "##{erros_do_lote.id}" td = erros_do_lote.exercicio_e_nome_do_mes td = erros_do_lote.tipo.capitalize td = erros_do_lote.criticas_do_modelo_do_sim.count.to_s td = erros_do_lote.com_erros? ? "#{erros_do_lote.situacao.capitalize.humanize}".html_safe : erros_do_lote.situacao.capitalize.humanize td = link_to erros_do_lote, class: "btn btn-default btn-sm mb-xs", title: "Ver Detalhes" do i.icone-detalhar = will_paginate @erros_dos_lotes, previous_label: "<", next_label: ">"