Add pagination to default widget for front end page
This commit is contained in:
1 parent
0cacfb7c05
commit
a9fecec985
7 files changed
+37
-20
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,4 @@
|
||||
<%= render @partial %>
|
||||
<% if @paginate %>
|
||||
<%= paginate @data, :param_name => :page_main, :params => {:same_page_id => @page_id} %>
|
||||
<% end %>
|
||||
Reference in new issue
Block a user