%table#myTable.tablesorter.platform-repos{:cellspacing => "0", :cellpadding => "0"} %thead %tr %th.th1= t("activerecord.attributes.repository.name") %th.th2= t("layout.repositories.projects") %th= t("layout.delete") %tbody - @repositories.each do |repository| %tr{:class => cycle("odd", "even")} %td = link_to repository.name, platform_repository_path(@platform, repository) %td = repository.projects.count %td.buttons - if can? :destroy, repository = link_to platform_repository_path(@platform, repository), :method => :delete, :confirm => t("layout.repositories.confirm_delete") do %span.delete   -#%table.table %tr %th.first= t("activerecord.attributes.repository.name") %th.last   - @repositories.each do |repository| %tr{:class => cycle("odd", "even")} %td = link_to repository.name, repository_path(repository) %td.last #{link_to t("layout.show"), repository_path(repository)} | #{link_to t("layout.delete"), repository_path(repository), :method => :delete, :confirm => t("layout.repositories.confirm_delete")}