You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
330 B
11 lines
330 B
<ul>
|
|
<% @mash_tournament.mashes.each do |mash| %>
|
|
<% if mash.map_a.present? && mash.map_b.present? && mash.winner.present? %>
|
|
<li><%= mash.map_a.name %> vs. <%= mash.map_b.name %>, winner = <%= mash.winner.name %></li>
|
|
<% end %>
|
|
<% end %>
|
|
</ul>
|
|
|
|
|
|
<%= link_to 'New!', :controller => 'mash_tournaments', :action => 'new' %>
|