app/views/admin/base/index.html.slim in ab_admin-0.3.6 vs app/views/admin/base/index.html.slim in ab_admin-0.4.0
- old
+ new
@@ -1,11 +1,11 @@
/- if settings[:index_view] == 'table'
= form_tag url_for(action: :batch), id: 'batch_action_form', class: 'pjax-form' do
input name='batch_action' id='batch_action' type='hidden'
- = render 'admin/shared/batch_actions'
+ = render 'admin/shared/content_actions'
-#content= render settings[:index_view]
-.pagination.pull-left
+#content= render current_index_view
+.pagination-wrap.pull-left
= will_paginate collection, renderer: BootstrapPagination::Rails
.pagination_info= pagination_info collection
.btn-toolbar.pull-right.pjax_links
.btn-group
- [50, 100, 500, 1000].each do |c|