ensl.org/app/views/users/_matches.html.erb
Luke Barratt 4046d25017 Tests passing with redesign
Improved layout slightly to match grid
2014-04-17 08:55:19 +01:00

6 lines
266 B
Text

<h4>Match History</h4>
<% @user.match_teams.each do |team| %>
<h4><%= namelink team %></h4>
<%= render partial: "matches/list", locals: { matches: Match.finished.ordered.of_userteam(@user, team), friendly: team, contest: true, exclude_maps: true } %>
<% end %>