-<% if relation.members.length != 0 %>
+<% if members.length != 0 %>
<h3>Members</h3>
<table id="keyvalue" cellpadding="3">
<tr>
<th>Type</th>
<th>Role</th>
</tr>
- <%= render :partial => 'member', :collection => relation.relation_members %>
+ <%= render :partial => 'member', :collection => members %>
</table>
<% end %>