Fixed items_per_page helper.
This commit is contained in:
parent
a47d4b1f0e
commit
689cfcfe01
2 changed files with 8 additions and 20 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue