Sha256: bf9f44d2bfa0d324de60eb827571e4849759feb0555fbfac1a6ce122d52e76b7

Contents?: true

Size: 1.35 KB

Versions: 4

Compression:

Stored size: 1.35 KB

Contents

.row
  .col-12
    %h1= t('.title', **inflections)

- if Administrador.features?(:rao_query)
  .row
    .col-12
      = query_helper(self).form_for(@collection, url: {}, html: { class: 'administrador-query-form form-inline' }, method: :get) do |f|
        = render partial: 'query_form', locals: { form: f }
        = render partial: 'query_form_buttons', locals: { form: f }
.row
  .col-12
    .before-index-table= render partial: 'before_index_table', locals: { collection: @collection }

- if Administrador.features?(:kaminari) && @collection.respond_to?(:total_pages)
  .row
    .col-12
      = render partial: 'pagination', locals: { collection: @collection }

.row
  .col-12
    = collection_table(collection: @collection, resource_class: resource_class, table_html: "collection-table table table-responsive #{resource_class.name.underscore.pluralize.gsub('/', '-')}") do |table|
      = render partial: 'index_table', locals: { table: table }
      = render partial: 'index_table_actions', locals: { table: table }
  
- if Administrador.features?(:kaminari) && @collection.respond_to?(:total_pages)
  .row
    .col-12.d-flex
      = render partial: 'pagination', locals: { collection: @collection }

.row
  .col-12
    .after-index-table= render 'after_index_table', locals: { collection: @collection }

.row
  .index-actions.col-12.d-flex
    = render partial: 'index_actions'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
administrador-0.0.32.pre app/views/administrador/resources_controller/base/index.html.haml
administrador-0.0.31.pre app/views/administrador/resources_controller/base/index.html.haml
administrador-0.0.30.pre app/views/administrador/resources_controller/base/index.html.haml
administrador-0.0.29.pre app/views/administrador/resources_controller/base/index.html.haml