<% if @edits.present? %>
    <%= render :partial => 'changeset', :collection => @edits %>
<%= link_to t('changeset.list.load_more'), url_for(params.merge(:max_id => @edits.last.id - 1)), :class => "button load_more" %> <%= image_tag "searching.gif", :class => "loader", :style => "display: none;" %>
<% elsif params[:max_id] %>
<%= t('changeset.list.no_more') %>
<% else %>
<%= t('changeset.list.empty') %>
<% end %>