]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/feature.html.erb
Merge remote-tracking branch 'upstream/pull/4155'
[rails.git] / app / views / browse / feature.html.erb
1 <% set_title(t("browse.#{@type}.title_html", :name => printable_name(@feature))) %>
2
3 <%= render "sidebar_header", :title => t("browse.#{@type}.title_html", :name => printable_name(@feature)) %>
4
5 <%= render :partial => @type, :object => @feature %>
6
7 <div class='secondary-actions'>
8   <% if @feature.visible? %>
9     <%= link_to(t("browse.download_xml"), :controller => "api/#{@type.pluralize}", :action => :show) %>
10     &middot;
11   <% end %>
12   <%= link_to(t("browse.view_history"), :action => "#{@type}_history") %>
13 </div>