X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/90fd22e2a35cea1e4bc55185f93267c49fb37b6e..6cf9f5dc9cba1b73d7f275560798d7dcc6a2e3ea:/app/views/browse/feature.html.erb?ds=inline diff --git a/app/views/browse/feature.html.erb b/app/views/browse/feature.html.erb index 37be312b1..29f911f79 100644 --- a/app/views/browse/feature.html.erb +++ b/app/views/browse/feature.html.erb @@ -1,8 +1,8 @@ -<% set_title(t("browse.#{@type}.title_html", :name => printable_name(@feature))) %> +<% set_title(t("browse.#{@type}.title_html", :name => printable_element_name(@feature))) %> -<%= render "sidebar_header", :title => t("browse.#{@type}.title_html", :name => printable_name(@feature)) %> +<%= render "sidebar_header", :title => t("browse.#{@type}.title_html", :name => printable_element_name(@feature)) %> -<%= render :partial => @type, :object => @feature %> +<%= render :partial => "browse/#{@type}", :object => @feature %> <% if @feature.visible? %>