_project.html.haml revision b23869f9e7504049f5d28bbbc54d812c8ca36abb
%tr
%td= fancy_link project
%td= truncate(project.description, length: 20, separator: ' ')
%td= project.institution
%td= project.contact
-if !parent
%td
.btn-group
= link_to 'Edit', [:edit, *resource_chain, project], class: 'btn btn-default btn-xs'
= link_to 'Delete', [*resource_chain, project], class: 'btn btn-danger btn-xs', method: :delete, confirm: "Really delete the project '#{project}'?"