Sha256: 5403da9c24b0175f66ed4109f5525f230af0e0e04e4effae0fb0cef711767fad

Contents?: true

Size: 835 Bytes

Versions: 2

Compression:

Stored size: 835 Bytes

Contents

<h3>
  <%= @team.title  %>
  <%= "(#{@team.code})" if @team.code.present? %>
</h3>

<p>
 
   <%= render_team_world_tree( @team ) %>
  
   <%= " | #{@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( event, full_title: true ) %></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.3.0 app/views/sport_db_admin/teams/show.html.erb
sportdb-admin-0.2.0 app/views/sport_db_admin/teams/show.html.erb