<div class="row">
  <% if notice %>
    <p data-alert class="alert-box success radius"><%= notice %></p>
  <% end %>

  <h1>Listing Situations</h1>

  <table>
    <thead>
      <tr>
        <th>Title</th>
        <th>Sit rep</th>
        <th>Choice 1</th>
        <th>Choice 1 label</th>
        <th>Choice 2</th>
        <th>Choice 2 label</th>
        <th>Ending?</th>
        <th colspan="3">Actions</th>
      </tr>
    </thead>

    <tbody>
      <% @situations.each do |situation| %>
        <tr>
          <td><%= situation.title %></td>
          <td><%= situation.sit_rep.truncate(25) %></td>
          <td><%= situation.choice_1 %></td>
          <td><%= situation.choice_1_label.truncate(25) rescue "" %></td>
          <td><%= situation.choice_2 %></td>
          <td><%= situation.choice_2_label.truncate(25) rescue "" %></td>
          <td><%= p "X" if situation.ending? %></td>
          <td><%= link_to 'Show', situation %></td>
          <td><%= link_to 'Edit', edit_situation_path(situation) %></td>
          <td><%= link_to 'Destroy', situation, method: :delete, data: { confirm: 'Are you sure?' } %></td>
        </tr>
      <% end %>
    </tbody>
  </table>

  <br>

  <%= link_to 'New Situation', new_situation_path %>
</div>


  <h1>Listing Situations</h1>

  <table>
    <thead>
      <tr>
        <th>Title</th>
        <th>Sit rep</th>
        <th>Choice 1</th>
        <th>Choice 1 label</th>
        <th>Choice 2</th>
        <th>Choice 2 label</th>
        <th>Ending?</th>
        <th colspan="3">Actions</th>
      </tr>
    </thead>

    <tbody>
      <% @situations.each do |situation| %>
        <tr>
          <td><%= situation.title %></td>
          <td><%= situation.sit_rep.truncate(25) %></td>
          <td><%= situation.choice_1 %></td>
          <td><%= situation.choice_1_label.truncate(25) rescue "" %></td>
          <td><%= situation.choice_2 %></td>
          <td><%= situation.choice_2_label.truncate(25) rescue "" %></td>
          <td><%= p "X" if situation.ending? %></td>
          <td><%= link_to 'Show', situation %></td>
          <td><%= link_to 'Edit', edit_situation_path(situation) %></td>
          <td><%= link_to 'Destroy', situation, method: :delete, data: { confirm: 'Are you sure?' } %></td>
        </tr>
      <% end %>
    </tbody>
  </table>

  <br>

  <%= link_to 'New Situation', new_situation_path %>
</div>

Remove duplicate notice (moved to application layout).
Remove duplicate notice (moved to application layout).
