<p id="notice"><%= notice %></p> <h1>People</h1> <table class="table"> <thead> <tr> <th colspan="4"></th> </tr> </thead> <tbody> <% @people.each do |person| %> <tr> <td><%= person.full_name %></td> <td><%= link_to 'Show', person %></td> <td><%= link_to 'Edit', edit_person_path(person) %></td> <td><%= link_to 'Destroy', person, method: :delete, data: { confirm: 'Are you sure?' } %></td> </tr> <% end %> </tbody> </table> <br> <%= link_to 'New Person', new_person_path %>