Sha256: f74e4391bb8103e5a786cde11caa02fb2dc54545b8a6cf29731e98f6d466cd52

Contents?: true

Size: 718 Bytes

Versions: 1

Compression:

Stored size: 718 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/content_actions'
    
#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|
      a.btn.per_page data-val=c href=url_for(params.merge(per_page: c)) class=('active' if c == collection.per_page) = c

- if pjax? && flash.present?
  - flash.each do |k, v|
    = javascript_tag %[flash("#{j v}", "#{k}")]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ab_admin-0.4.0 app/views/admin/base/index.html.slim