Fixed items_per_page helper.

This commit is contained in:
benni 2011-06-10 12:03:32 +02:00
parent a47d4b1f0e
commit 689cfcfe01
2 changed files with 8 additions and 20 deletions

View file

@ -2,10 +2,9 @@
%table{:style => "width:100%"}
%tr
%td
= pagination_links_remote @ordergroups, { :update => "ordergroups" }
= pagination_links_remote @ordergroups
%td{:style => "text-align:right"}
- if @ordergroups.size > 20
= items_per_page :update => "ordergroups"
= items_per_page
%table.list
%thead
%tr