.widget header> h5 ' Lista de span.fw-semi-bold Pareceres .widget-body - if vistoriavel.vistos.empty? h6 Nenhum registro encontrado. - else .table-responsive table.table.table-hover style="font-size: 14px;" thead tr th width="180px" Setor th style="text-align: center;" Data do Parecer th style="text-align: center;" Parecer th width="150" tbody - vistoriavel.vistos.each do |visto| tr td width="180px" = visto.tipo.humanize td style="text-align: center;" = visto.data_do_parecer td style="text-align: center;" =< label_negativo_positivo visto.aprovado td style="text-align: center;" = link_to licitacao_relatorios_processo_path(id_do_tipo: params[:id],tipo_visto: visto.vistoriavel_type ,relatorio: 'parecer', format: :pdf, parecer_id: visto.id, id: 'parecer'), class: "btn btn-default btn-sm mb-xs", target: '_blank', title: "Imprimir" do i.icone-imprimir - if visto.mensagem.present? a class="btn btn-default btn-sm mb-xs" role="button" data-toggle="collapse" href="#visto#{visto.id}" aria-expanded="false" aria-controls="collapseExample" i.icone-detalhar - if logado_na_controladoria? - unless vistoriavel.try(:confirmado) || administrativo_atual.present? || logado_na_licitacao? = botao_com_permissao rota_edit_visto(vistoriavel, visto), {acao: :update, controle: "vistos"}, { \ class_icone:'icone-editar', params: {class: 'btn btn-default btn-sm mb-xs', title: "Editar"}, } tr.collapse id="visto#{visto.id}" td colspan="3" div b Mensagem do Visto: =< visto.mensagem