Sha256: cb102cf0d568a9ce767e2e5899ce24cd53587824e805619f8aac28bd69873c17

Contents?: true

Size: 634 Bytes

Versions: 6

Compression:

Stored size: 634 Bytes

Contents

- 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'
    
#content= render settings[:index_view]
.pagination.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|
      a.btn.per_page data-val=c href=(url_for(params.merge(:per_page => c))) class=(('active' if c == collection.per_page)) = c

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ab_admin-0.2.3 app/views/admin/base/index.html.slim
ab_admin-0.2.2 app/views/admin/base/index.html.slim
ab_admin-0.2.1 app/views/admin/base/index.html.slim
ab_admin-0.2.0 app/views/admin/base/index.html.slim
ab_admin-0.1.2 app/views/admin/base/index.html.slim
ab_admin-0.1.1 app/views/admin/base/index.html.slim