X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0c79686f3cef86330d0ab6bbef2a9e2275ac93ac..928465764e52407884b35e31a08bf9241e651269:/app/views/changesets/index.html.erb diff --git a/app/views/changesets/index.html.erb b/app/views/changesets/index.html.erb index 1ce98301a..527a0a232 100644 --- a/app/views/changesets/index.html.erb +++ b/app/views/changesets/index.html.erb @@ -1,10 +1,10 @@ -<% if @edits.present? %> -
    - <%= render :partial => "changeset", :collection => @edits %> +<% if @changesets.present? %> +
      + <%= render @changesets %>
    -<% if @edits.size == 20 -%> +<% if @changesets.size == 20 -%>
    - <%= link_to t(".load_more"), url_for(@params.merge(:max_id => @edits.last.id - 1)), :class => "button load_more" %> + <%= link_to t(".load_more"), url_for(@params.merge(:max_id => @changesets.last.id - 1)), :class => "button load_more" %>
    <%= image_tag "searching.gif" %>
    <% end -%>