.block .secondary-navigation %ul.wat-cf %li.first= link_to t("layout.categories.list"), categories_path %li.active= link_to t("layout.categories.platforms"), platforms_categories_path .content %h2.title= t("layout.platforms.list_header") %br .inner %h3.title= t("layout.platforms.list_header_main") %table.table - @main_platforms.each do |platform| %tr{:class => cycle("odd", "even")} %td= link_to platform.name, platform_categories_path(platform) %td.last= @main_platforms_count[platform.id].to_i %br .inner %h3.title= t("layout.platforms.list_header_personal") %table.table - @personal_platforms.each do |platform| %tr{:class => cycle("odd", "even")} %td= link_to platform.name, platform_categories_path(platform) %td.last= @personal_platforms_count[platform.id].to_i %br .inner %h3.title= t("layout.platforms.list_header_all") %table.table - @all_platforms.each do |platform| %tr{:class => cycle("odd", "even")} %td= link_to platform.name, platform_categories_path(platform) %td.last= @all_platforms_count[platform.id].to_i