| <%= link "Game with #{opponent(@conn, game).name}", to: game_path(@conn, :show, game), class: "btn btn-default btn-xs" %> | Started on <%= Timex.format!(game.inserted_at, "%b %e at %I:%M %P", :strftime) %> | <%= link "Delete", to: game_path(@conn, :delete, game), method: :delete, data: [confirm: "Are you sure?"], class: "btn btn-danger btn-xs" %> |
<%= link "New game", to: game_path(@conn, :new), class: "button" %>