0
我需要顯示一個標籤,說Showing results from 1 to 10
,所以我在頁面之間移動,下一頁將會說Showing results from 10 to 20
等等。will_paginate標籤'顯示從1到10'
這可能與will_paginate
,如果它有可能你有任何示例代碼?
我需要顯示一個標籤,說Showing results from 1 to 10
,所以我在頁面之間移動,下一頁將會說Showing results from 10 to 20
等等。will_paginate標籤'顯示從1到10'
這可能與will_paginate
,如果它有可能你有任何示例代碼?
<%= page_entries_info @posts %>
爲你在這裏做的伎倆。例如,檢查this page代碼。