Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道是否可以为 JQuery UI 选项卡中的每个选项卡添加带有 will_paginate 的分页。
例如,我有两个选项卡,一个包含十个元素,一个包含三十个元素。是否可以为每十个元素添加分页,以便第一个标签没有分页,第二个标签有三页?
谢谢
是的,这是可能的。will_paginate 所做的只是为每组资源生成正确的 URL。