Listing Challenges

<% @challenges.each do |challenge| %> <% end %>
Challenger Recipient Match time Status
<%= namelink challenge.contester1.team %> <%= namelink challenge.contester2.team %> <%= link_to (shorttime challenge.match_time), challenge %> <%= challenge.statuses[challenge.status] %> <%= link_to icon('times'), challenge, confirm: 'Are you sure?', method: :delete %>