]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/_relation_details.rhtml
i18n'ing the site layout.
[rails.git] / app / views / browse / _relation_details.rhtml
1 <table>
2
3   <%= render :partial => "common_details", :object => relation_details %>
4
5   <% unless relation_details.relation_members.empty? %>
6     <tr valign="top">
7       <th>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>
18       <th>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>