]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/history.html.erb
Fix rubocop warnings
[rails.git] / app / views / browse / history.html.erb
1 <% set_title(t("browse.#{@type}.history_title_html", :name => printable_element_name(@feature))) %>
2
3 <%= render "sidebar_header", :title => t("browse.#{@type}.history_title_html", :name => printable_element_name(@feature)) %>
4
5 <%= render :partial => @type, :collection => @feature.send(:"old_#{@type}s").reverse %>
6
7 <div class='secondary-actions'>
8   <%= link_to(t("browse.download_xml"), :controller => "api/old_#{@type.pluralize}", :action => "history") %>
9   &middot;
10   <%= link_to(t("browse.view_details"), :action => @type) %>
11 </div>