<table>

  <%= render :partial => "common_details", :object => relation_details %>

  <% unless relation_details.relation_members.empty? %>
    <tr valign="top">
      <th><%= t'browse.relation_details.members' %></th>
      <td>
        <table cellpadding="0">
          <%= render :partial => "relation_member", :collection => relation_details.relation_members %>
        </table>
      </td>
    </tr>   
  <% end %>

  <% unless relation_details.containing_relation_members.empty? %>
    <tr>
      <th><%= t'browse.relation_details.part_of' %></th>
      <td>
        <table cellpadding="0">
          <%= render :partial => "containing_relation", :collection => relation_details.containing_relation_members %>
        </table>
      </td>
    </tr>      
  <% end %>

</table>

<table>

  <%= render :partial => "common_details", :object => relation_details %>

  <% unless relation_details.relation_members.empty? %>
    <tr valign="top">
      <th><%= t'browse.relation_details.members' %></th>
      <td>
        <table cellpadding="0">
          <%= render :partial => "relation_member", :collection => relation_details.relation_members %>
        </table>
      </td>
    </tr>   
  <% end %>

  <% unless relation_details.containing_relation_members.empty? %>
    <tr valign="top">
      <th><%= t'browse.relation_details.part_of' %></th>
      <td>
        <table cellpadding="0">
          <%= render :partial => "containing_relation", :collection => relation_details.containing_relation_members %>
        </table>
      </td>
    </tr>      
  <% end %>

</table>

Align relation membership details to the top.
Align relation membership details to the top.


