Add pagination.
This commit is contained in:
parent
710157d098
commit
86eb202d2b
|
@ -20,6 +20,11 @@
|
||||||
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
|
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<%=
|
||||||
|
content_tag :div, class: "bottomnav clearfix" do
|
||||||
|
content_tag :div, paginate(@templates), class: "pagination pagination-centered"
|
||||||
|
end
|
||||||
|
%>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(".template-display-btn").on("click",function(){
|
$(".template-display-btn").on("click",function(){
|
||||||
var el = $(this);
|
var el = $(this);
|
||||||
|
|
Loading…
Reference in New Issue