.widget header> h5 span.fw-semi-bold Engenheiro(s) .widget-body - if @obra.engenheiros_da_obra.empty? h6 ' Nenhum registro encontrado. - else table.table.table-hover.table-responsive thead tr th Nome th Tipo th Formação th Cargo th Nº do RNP th N° da Port. th width="12%" tbody - @obra.engenheiros_da_obra.each do |engenheiro| tr td = engenheiro.pessoa.nome td = engenheiro.localizar(:tipo) td = engenheiro.localizar(:formacao) td = engenheiro.try(:cargo) td = engenheiro.numero_do_crea td = engenheiro.numero_da_portaria td = link_to engenheiro, class: "btn btn-default btn-sm mb-xs", title: "Ver Detalhes" do i.icone-detalhar - if esta_autorizado? :edit = link_to edit_contabilidade_engenheiro_da_obra_path( engenheiro ), class: "btn btn-default btn-sm mb-xs", title: "Editar" do i.icone-editar - if esta_autorizado? :destroy = link_to engenheiro, :method => :delete, data: { confirm: 'Tem certeza?' }, class: "btn btn-default btn-sm mb-xs", title: "Apagar" do i.icone-excluir