Sha256: 86ab019d301d8247cee128c21c8f0185fd510c5dc9c01a9bfe39fe7a0d109da6
Contents?: true
Size: 897 Bytes
Versions: 2
Compression:
Stored size: 897 Bytes
Contents
<h3> <%= @team.title %> <%= "(#{@team.code})" if @team.code.present? %> </h3> <p> <% if @team.national? %> <% else %> <%= render_team_world_tree( @team ) %> <% end %> <%= " | #{@team.title2}" if @team.title2.present? %> </p> <!-- check for badges --> <p> <% @team.badges.each do |badge| %> <%= badge.title %> <%= badge.league.title %> <%= badge.season.title %><br> <% end %> </p> <ul> <% @team.events.each do |event| %> <li><%= link_to event.full_title, short_event_path(event) %></li> <% end %> </ul> <!-- todo: use different css class e.g. db?? --> <table class='play'> <% @team.games.each do |game| %> <tr> <%= render_game_date( game ) %> <%= render_game_team1( game ) %> <%= render_game_score( game ) %> <%= render_game_team2( game ) %> <%= render_game_flags( game ) %> <%= render_game_round( game ) %> </tr> <% end %> <!-- games --> </table>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sportdb-admin-0.1.1 | app/views/sport_db_admin/teams/show.html.erb |
sportdb-admin-0.1.0 | app/views/sport_db_admin/teams/show.html.erb |