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

16 lines
592 B
Plaintext
Raw Normal View History

2011-10-17 15:27:07 +01:00
%table.table
%tr
%th.first= t("activerecord.attributes.platform.name")
2011-10-27 17:31:54 +01:00
%th.first= t("activerecord.attributes.platform.distrib_type")
2011-10-17 15:27:07 +01:00
%th.last  
- @platforms.each do |platform|
%tr{:class => cycle("odd", "even")}
%td
= link_to platform.name, platform_path(platform)
2011-10-27 17:31:54 +01:00
%td
= platform.distrib_type
2011-10-17 15:27:07 +01:00
%td.last
= link_to t("layout.show"), platform_path(platform)
|
= link_to t("layout.delete"), platform_path(platform), :method => :delete, :confirm => t("layout.platforms.confirm_delete") if can? :destroy, platform