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

29 lines
1019 B
Plaintext
Raw Normal View History

2012-03-07 18:59:37 +00:00
%table#myTable.tablesorter.platforms{:cellspacing => "0", :cellpadding => "0"}
%thead
%tr
%th.th1= t("activerecord.attributes.platform.name")
%th.th2= t("activerecord.attributes.platform.distrib_type")
%tbody
- @platforms.each do |platform|
%tr{:class => cycle("odd", "even")}
%td
= link_to platform.name, platform_path(platform)
%td
= platform.distrib_type
-#%table.table
2011-10-17 15:27:07 +01:00
%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