rosa-build/app/views/projects/_list.html.haml

14 lines
498 B
Plaintext

%table.table
%tr
%th= t("activerecord.attributes.project.name")
%th= t("activerecord.attributes.project.unixname")
%th.last  
- @projects.each do |project|
%tr{:class => cycle("odd", "even")}
%td= link_to project.name, project
%td= project.unixname
%td
= link_to t("layout.edit"), edit_project_path(project)
|
= link_to t("layout.delete"), project_path(project), :method => :delete, :confirm => t("layout.projects.confirm_delete")