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

14 lines
498 B
Plaintext
Raw Normal View History

2011-10-17 15:21:29 +01:00
%table.table
%tr
%th= t("activerecord.attributes.project.name")
%th= t("activerecord.attributes.project.unixname")
2011-10-17 15:21:29 +01:00
%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")