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
|
2011-11-16 18:45:01 +00:00
|
|
|
= 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
|