Listing challenges

<% @challenges.each do |challenge| %> <% end %>
Challenger Recipient Match time Default time Server Status
<%= link_to "[X]", challenge, :confirm => 'Are you sure?', :method => :delete %> <%= namelink challenge.contester1.team %> <%= namelink challenge.contester2.team %> <%= link_to (shorttime challenge.match_time), challenge %> <%= challenge.mandatory ? shorttime(challenge.default_time) : "--" %> <%= h challenge.server %> <%= challenge.statuses[challenge.status] %>