<div id="<%= dom_id turn %>">
  <div>
    <strong>Number:</strong>
    <%= turn.number %>
  </div>

  <div>
    <strong>Phase:</strong>
    <%= turn.phase %>
  </div>

  <div>
    <strong>Game state:</strong>
    <pre><%= JSON.pretty_generate(turn.game_state) if turn.game_state %></pre>
  </div>

  <div>
    <strong>Possible orders:</strong>
    <pre><%= JSON.pretty_generate(turn.possible_orders) if turn.possible_orders %></pre>
  </div>

  <div>
    <strong>Orders:</strong>
    <pre><%= JSON.pretty_generate(turn.orders) if turn.orders %></pre>
  </div>

  <div>
    <strong>Map View:</strong>
    <div class="game-map">
      <%= turn.svg_date.html_safe if turn.svg_date %>
    </div>
  </div>

  <div>
    <strong>Game ID:</strong>
    <%= turn.game_id %>
  </div>

</div>
