]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/feature.html.erb
stub model and show in view
[rails.git] / app / views / browse / feature.html.erb
index 6c94b0a9dfd50aa8dab39c5ec33611c29c4abd2e..c5c26330e46dbac17cb071ea6c96a9f218cd0f22 100644 (file)
@@ -1,9 +1,6 @@
-<% set_title(t("browse.#{@type}.title", :name => printable_name(@feature))) %>
+<% set_title(t("browse.#{@type}.title_html", :name => printable_name(@feature))) %>
 
-<h2>
-  <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
-  <%= raw t("browse.#{@type}.title", :name => printable_name(@feature)) %>
-</h2>
+<%= render "sidebar_header", :title => t("browse.#{@type}.title_html", :name => printable_name(@feature)) %>
 
 <%= render :partial => @type, :object => @feature %>