_upcoming_matches.html.slim 534 Bytes
h1 Upcoming matches
table.upcoming
  tbody
    - @upcoming_matches.each do |u|
      tr
        td = l(u.date, format: :short)
        td = u.local
        td VS
        td = u.visit

h1 Recent matches
table.recent
  tbody
    - @recent_matches.each do |match|
        tr
          td = l(match.date, format: :short)
          td = match.local
          td = match.score_local
          td = match.visit
          td = match.score_visit
    - if @recent_matches.empty?
      tr
        td colspan=4 There are no finished matches yet.