fix for pagination

This commit is contained in:
Harry Bomrah 2014-12-30 21:00:12 +08:00
parent e1051742f2
commit 5b02e54f17
2 changed files with 3 additions and 9 deletions

View File

@ -53,9 +53,3 @@
<% end %> <% end %>
</tbody> </tbody>
</table> </table>
<%=
content_tag :div, class: "bottomnav clearfix" do
content_tag :div, paginate(@registeredsites), class: "pagination pagination-centered"
end
%>

View File

@ -2,8 +2,8 @@
<span id="index_table"> <span id="index_table">
<%= render 'index'%> <%= render 'index'%>
</span> </span>
<%= <%=
content_tag :div, class: "bottomnav clearfix" do content_tag :div, class: "bottomnav clearfix" do
content_tag :div, paginate(@registered_modules), class: "pagination pagination-centered" content_tag :div, paginate(@registeredsites), class: "pagination pagination-centered"
end end
%> %>