Sha256: 8bb8e1eee92b106c0a54e9eaa583231d36a7eefc9125b29838b55ee108460aae

Contents?: true

Size: 485 Bytes

Versions: 2

Compression:

Stored size: 485 Bytes

Contents

<!-- note: switch for past / upcoming games view -->

<% if @show_upcoming %>
<h3>Upcoming Games</h3>
<% else %>
<h3>Past Games</h3>
<% end %>

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

<% if @games.count > 0 %>
<p>
  <% if @show_upcoming %>
     <%= link_to 'Mehr Spiele »', games_path(:limit => 100) %>
  <% else %>
     <%= link_to 'Mehr Spiele »', past_games_path(:limit => 100) %>
  <% end %>
</p>
<% else %>
<p>Keine Spiele gefunden.</p>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sportdb-admin-0.1.1 app/views/sport_db_admin/games/index.html.erb
sportdb-admin-0.1.0 app/views/sport_db_admin/games/index.html.erb