Sha256: e78698521ee69977d8a0a8963347fa12964d358733c594b038afc6d4fb759955
Contents?: true
Size: 1.01 KB
Versions: 2
Compression:
Stored size: 1.01 KB
Contents
<h3><%= @teams.size %> National Teams</h3> <p> All <span class='team-count'> (<%= @teams.count %>) </span> <% Continent.all.each do |continent| %> • <%= continent.title %> <span class='country-count'> (<%= continent.teams.where( club: false ).count %>) </span> <% end %> </p> <table> <% @teams.each do |team| %> <tr> <td class='team-key'><%= team.key %></td> <td> <%= link_to team.title, short_team_path( team ) %> </td> <td> <%= "(#{team.code})" if team.code.present? %> </td> <td> <%= team.title2 if team.title2.present? %> </td> <td class='team-key'><%= team.country.key %> </td> <td> <%= image_tag "flags/24x24/#{team.country.key}.png" %> <%= link_to team.country.title, short_country_path(team.country) %> (<%= team.country.code %>) > <%= team.country.continent.title if team.country.continent.present? %> <td> </tr> <% end %><!-- teams.each --> </table>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sportdb-admin-0.1.1 | app/views/sport_db_admin/teams/index_national_teams.html.erb |
sportdb-admin-0.1.0 | app/views/sport_db_admin/teams/index_national_teams.html.erb |