app/views/admin/faculty_sponsors/show.html.erb
<p>
<b>Name:</b>
<%=h @faculty_sponsor.name %>
</p>
<h2>Studies</h2>
<table id="study_list" class="sortable table">
<thead>
<tr>
<th>Study name</th>
<th>Edit</th>
</tr>
</thead>
<tbody>
<% for study in @faculty_sponsor.studies %>
<tr>
<td><%= link_to study.name, study_path(study), title: "View #{study.name}" %></td>
<td><%= link_to 'Edit', edit_study_path(study), title: "Edit #{study.name}" %></td>
</tr>
<% end %>
</tbody>
</table>
<%= link_to 'Edit', edit_admin_faculty_sponsor_path(@faculty_sponsor) %> |
<%= link_to 'Back', admin_faculty_sponsors_path %>