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

11 lines
430 B
Plaintext
Raw Normal View History

2011-10-17 15:21:29 +01:00
%table.table
%tr
%th.first= t("activerecord.attributes.project.name")
%th.last  
- @projects.each do |project|
%tr{:class => cycle("odd", "even")}
%td
= link_to project.name, project_path(project)
%td.last
#{link_to t("layout.show"), project_path(project)} | #{link_to t("layout.delete"), project_path(project), :method => :delete, :confirm => t("layout.projects.confirm_delete")}