]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/feature.html.erb
Make tab labels into nouns that describe what's on the tab
[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   <%= link_to(t("browse.download_xml"), :controller => "api/#{@type.pluralize}", :action => :show) %>
9   &middot;
10   <%= link_to(t("browse.view_history"), :action => "#{@type}_history") %>
11 </div>