]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/_relation_details.html.erb
Fixup openid test to reflect changes merged from master
[rails.git] / app / views / browse / _relation_details.html.erb
1 <table id="<%= relation_details.version %>">
2
3   <%= render :partial => "common_details", :object => relation_details %>
4
5   <% unless relation_details.relation_members.empty? %>
6     <tr valign="top">
7       <th><%= t'browse.relation_details.members' %></th>
8       <td>
9         <table cellpadding="0">
10           <%= render :partial => "relation_member", :collection => relation_details.relation_members %>
11         </table>
12       </td>
13     </tr>   
14   <% end %>
15
16   <% unless relation_details.containing_relation_members.empty? %>
17     <tr valign="top">
18       <th><%= t'browse.relation_details.part_of' %></th>
19       <td>
20         <table cellpadding="0">
21           <%= render :partial => "containing_relation", :collection => relation_details.containing_relation_members %>
22         </table>
23       </td>
24     </tr>      
25   <% end %>
26
27 </table>