Gather Archive

Players starred were captains for their respective teams.
<%= will_paginate @gathers %> <% @gathers.each do |gather| %> <% end %>
Info Team 1 Team 2

<%= link_to gather.updated_at.strftime("%Y/%m/%d %H:%M:%S"), gather %>

<%= namelink gather&.map1&.map %> <%= namelink gather&.map2&.map %>

    <% gather.gatherers.ordered.each do |gatherer| %>
  • <% if gatherer.team == 1 %> <%= link_to gatherer.user.to_s, User.find_by_username(gatherer.user.to_s) %> <% if gather.captain1 == gatherer %> <%= icon 'star' %> <% end %> <% end %>
  • <% end %>
    <% gather.gatherers.ordered.each do |gatherer| %>
  • <% if gatherer.team == 2 %> <%= link_to gatherer.user.to_s, User.find_by_username(gatherer.user.to_s) %> <% if gather.captain2 == gatherer %> <%= icon 'star' %> <% end %> <% end %>
  • <% end %>
<%= will_paginate @gathers %>