]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/old_relations/show.html.erb
Refactor common element version view code
[rails.git] / app / views / old_relations / show.html.erb
index 360011ca2147b183f617aa9fb375f8e9b09f784e..94e3674d8759432efae525c54c215141791c2774 100644 (file)
@@ -1,5 +1,7 @@
-<% set_title t("browse.relation.title_html", :name => printable_name(@feature)) %>
+<% set_title t("browse.relation.title_html", :name => printable_element_name(@feature)) %>
 
-<%= render "sidebar_header", :title => t("browse.relation.title_html", :name => printable_name(@feature)) %>
+<%= render "sidebar_header", :title => t("browse.relation.title_html", :name => printable_element_name(@feature)) %>
 
 <%= render :partial => "browse/relation", :object => @feature %>
+
+<%= render :partial => "browse/version_actions" %>