%tr#p_truck{:id => p_truck.id}
  %td= p_truck.marque
  %td= p_truck.immat
  %td= p_truck.p_driver.name if p_truck.p_driver
  %td
    ="Remorque" if p_truck.remorque
  %td= p_truck.code
  

  %td.actions
    = link_to i(:"trash-o"), [:admin, p_truck], method: :delete, data: { confirm: 'Voulez-vous vraiment supprimer cet auteur ? ' } , :remote => true
    = link_to i(:pencil), edit_admin_p_truck_path(p_truck), :remote => true

