Sha256: a18131a9a1ee659c6d43529c7c2efc843b832c5c77562edb3b4583373147e597

Contents?: true

Size: 496 Bytes

Versions: 2

Compression:

Stored size: 496 Bytes

Contents

<!-- paras: game
  NB: v2 uses two tds (table cells)
  -->

<!-- todo/fix:
  check for :link options (:db|:live)
  -->

<td class='game-team2'>
  <!-- todo: move code to model ?? -->
  <% if game.team2.national? %>
    <%= image_tag "flags/32x32/#{game.team2.country.key}.png" %>
  <% end %>
  
  <span class='<%= game_team2_style_class( game ) %>'>
    <%= link_to game.team2.title, short_team_path( game.team2 ) %>
  </span>
  <%= "(#{game.team2.title2})" if game.team2.title2.present? %>
</td>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sportdb-admin-0.1.1 app/views/sport_db_admin/shared/_td_game_team2.html.erb
sportdb-admin-0.1.0 app/views/sport_db_admin/shared/_td_game_team2.html.erb