Sha256: 422fcbdab73f6347ce26605eb789e8384c607d032476a175972f3577640e7b17

Contents?: true

Size: 465 Bytes

Versions: 13

Compression:

Stored size: 465 Bytes

Contents

%h1
  %span
    = resource_class.model_name.human(count: :other)
  .pull-right
    = bootstrap_button(to: new_resource_path, context: :success) do
      = fa_icon(:plus)
      = t('.new')

= render 'before_index_table', collection: @collection

= collection_table(collection: @collection, resource_class: resource_class) do |t|
  = render 'table',         table: t
  = render 'table_actions', table: t

= render 'pagination' if respond_to?(:paginate?) && paginate?

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rails-add_ons-3.0.0.pre1 app/views/resources_controller/base/index.haml
rails-add_ons-2.2.1 app/views/resources_controller/base/index.haml
rails-add_ons-2.2.0 app/views/resources_controller/base/index.haml
rails-add_ons-2.1.1 app/views/resources_controller/base/index.haml
rails-add_ons-2.1.0 app/views/resources_controller/base/index.haml
rails-add_ons-2.0.2 app/views/resources_controller/base/index.haml
rails-add_ons-2.0.1 app/views/resources_controller/base/index.haml
rails-add_ons-2.0.0 app/views/resources_controller/base/index.haml
rails-add_ons-1.5.2 app/views/resources_controller/base/index.haml
rails-add_ons-1.5.1 app/views/resources_controller/base/index.haml
rails-add_ons-1.5.0 app/views/resources_controller/base/index.haml
rails-add_ons-1.4.1 app/views/resources_controller/base/index.haml
rails-add_ons-1.4.0 app/views/resources_controller/base/index.haml