1 <%= turbo_frame_tag "changeset_#{type.pluralize}" do %>
2 <%= render :partial => "paging_nav", :locals => { :type => type, :pages => pages } %>
3 <ul class="list-unstyled" data-turbo="false">
4 <% elements.each do |element| %>
5 <%= element_list_item type, element do
6 t "printable_name.current_and_old_links_html",
7 :current_link => link_to(printable_element_name(element), :controller => type.pluralize, :action => :show, :id => element.id[0]),
8 :old_link => link_to(printable_element_version(element), :controller => "old_#{type.pluralize}", :action => :show, :id => element.id[0], :version => element.version)