section.widget
.widget-body
- if @ppa_ppas.empty?
h6
| Nenhum registro encontrado.
- else
.table-responsive
table.table.table-hover
thead
tr
th
| Prefeito
th
| ExercÃcio Inicial - Final
th
| Status
th[width="170"]
tbody
- @ppa_ppas.each do |ppa_ppa|
tr
td
= ppa_ppa.prefeito.try(:upcase)
td
= ppa_ppa.intervalo
td
= ppa_ppa.localizar :status
td
= link_to selecionar_contexto_path( tipo: ppa_ppa.class.name, id: ppa_ppa.id ), class: "btn btn-default btn-sm mb-xs", method: :post do
span.icone-detalhar
' Trabalhar Neste PPA
= will_paginate @ppa_ppas, previous_label: "<", next_label: ">"