app/views/volunteers/_team.html.erb
<h3><%= locals[:team] %></h3>
<table class="">
<thead>
<tr>
<th>Name</th>
<th>Email</th>
<th>Phone</th>
<th>Area</th>
<th>Status</th>
<th>Major</th>
<th>More Info</th>
<th>Edit</th>
<th>Delete</th>
</tr>
</thead>
<tbody>
<% locals[:volunteers].each do |groupee| %>
<tr>
<td><%= groupee.first_name %> <%= groupee.last_name %>:</td>
<td><%= groupee.email %> </td>
<td><%= groupee.phone %></td>
<td><%= groupee.city %>, <%= groupee.state %></td>
<td><%= groupee.status %></td>
<td><%= groupee.major %></td>
<td><%= link_to 'More Info', groupee %></td>
<td><%= link_to 'Edit', edit_volunteer_path(groupee) %></td>
<td><%= button_to 'Delete', volunteer_path(groupee), :method => :delete, :confirm => 'Are you sure?' %></td>
</tr>
<% end %>
</tbody>
</table>