From 58da388652f82276d4a5e7d6c801c1fa91bf6695 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?U=C4=A3is=20Ozols?= Date: Fri, 10 Dec 2010 08:58:42 +0200 Subject: Cleanup views as will_paginate link labels gets set in core. --- app/views/admin/blog/categories/index.html.erb | 8 ++------ app/views/admin/blog/posts/index.html.erb | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) (limited to 'app/views') diff --git a/app/views/admin/blog/categories/index.html.erb b/app/views/admin/blog/categories/index.html.erb index d9ccae6..60ade7a 100644 --- a/app/views/admin/blog/categories/index.html.erb +++ b/app/views/admin/blog/categories/index.html.erb @@ -10,15 +10,11 @@ <% end %> <% else %> <% if @blog_categories.any? %> - <%= will_paginate @blog_categories, - :previous_label => '«', - :next_label => '»' %> + <%= will_paginate @blog_categories %> <%= render :partial => "sortable_list" %> - <%= will_paginate @blog_categories, - :previous_label => '«', - :next_label => '»' %> + <%= will_paginate @blog_categories %> <% else %>

diff --git a/app/views/admin/blog/posts/index.html.erb b/app/views/admin/blog/posts/index.html.erb index d8c45a9..888daab 100644 --- a/app/views/admin/blog/posts/index.html.erb +++ b/app/views/admin/blog/posts/index.html.erb @@ -10,15 +10,11 @@ <% end %> <% else %> <% if @blog_posts.any? %> - <%= will_paginate @blog_posts, - :previous_label => '«', - :next_label => '»' %> + <%= will_paginate @blog_posts %> <%= render :partial => "sortable_list" %> - <%= will_paginate @blog_posts, - :previous_label => '«', - :next_label => '»' %> + <%= will_paginate @blog_posts %> <% else %>

-- cgit v1.2.3