Sha256: be05df07399f3396aefb05b3c10375620761a223e71583420d22786b53e1bb2b

Contents?: true

Size: 328 Bytes

Versions: 68

Compression:

Stored size: 328 Bytes

Contents

module ActiveAdmin
  module Views
    # Build a Blank Slate
    class BlankSlate < ActiveAdmin::Component
      builder_method :blank_slate

      def default_class_name
        'blank_slate_container'
      end

      def build(content)
        super(span(content.html_safe, class: "blank_slate"))
      end

    end
  end
end

Version data entries

68 entries across 68 versions & 8 rubygems

Version Path
activeadmin-rails-1.7.1 lib/active_admin/views/components/blank_slate.rb
activeadmin-rails-1.7.0 lib/active_admin/views/components/blank_slate.rb
activeadmin-rb-1.6.0 lib/active_admin/views/components/blank_slate.rb
activeadmin-rb-1.5.2 lib/active_admin/views/components/blank_slate.rb
activeadmin-2.8.0 lib/active_admin/views/components/blank_slate.rb
activeadmin-rb-1.5.1 lib/active_admin/views/components/blank_slate.rb
activeadmin-2.7.0 lib/active_admin/views/components/blank_slate.rb
activeadmin-2.6.1 lib/active_admin/views/components/blank_slate.rb
activeadmin-2.6.0 lib/active_admin/views/components/blank_slate.rb
activeadmin-2.5.0 lib/active_admin/views/components/blank_slate.rb
activeadmin-2.4.0 lib/active_admin/views/components/blank_slate.rb
activeadmin-2.3.1 lib/active_admin/views/components/blank_slate.rb
activeadmin-2.3.0 lib/active_admin/views/components/blank_slate.rb
activeadmin-2.2.0 lib/active_admin/views/components/blank_slate.rb
activeadmin-2.1.0 lib/active_admin/views/components/blank_slate.rb
activeadmin-2.0.0 lib/active_admin/views/components/blank_slate.rb
activeadmin-rb-1.5.0 lib/active_admin/views/components/blank_slate.rb
activeadmin-2.0.0.rc2 lib/active_admin/views/components/blank_slate.rb
activeadmin_addons-1.7.1 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/blank_slate.rb
activeadmin-2.0.0.rc1 lib/active_admin/views/components/blank_slate.rb