Sha256: d37dca3ab727f20a56b152bec15023d4acec19f58c35cada8a35e8045a694b96

Contents?: true

Size: 581 Bytes

Versions: 3

Compression:

Stored size: 581 Bytes

Contents

<h3><%= @teams.size %> Clubs</h3>

<p>
  All
   <span class='team-count'>
    (<%= @teams.count %>)
   </span>
<% Continent.all.each do |continent| %>
    &bull; 
   <%= continent.title %>
   <span class='team-count'>
      (<%= continent.teams.where( club: true ).count %>)
   </span>
<% end %>
</p>



<p>
  Sort By: <%= link_to 'Key A-Z', clubs_path(order: 'key') %>  &bull;
           <%= link_to 'Title A-Z', clubs_path(order: 'title') %>  &bull;
           <%= link_to 'Code A-Z', clubs_path(order: 'code') %>
</p>


<%= render partial: 'teams', locals: { teams: @teams } %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sportdb-admin-0.4.0 app/views/sport_db_admin/teams/index_clubs.html.erb
sportdb-admin-0.3.0 app/views/sport_db_admin/teams/index_clubs.html.erb
sportdb-admin-0.2.0 app/views/sport_db_admin/teams/index_clubs.html.erb