<p style="color: green"><%= notice %></p>

<% content_for :title, "Turns" %>

<h1>Turns</h1>

<div id="turns">
  <% @turns.each do |turn| %>
    <%= turn.id %>
    <%= turn.game_id %>
    <%= turn.number %>
    <%= turn.phase %>
    <p>
      <%= link_to "Show this turn", turn %>
    </p>
  <% end %>
</div>

<%= link_to "New turn", new_turn_path %>
