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_addons-1.0.1 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/lib/active_admin/views/components/blank_slate.rb
activeadmin_addons-1.0.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/lib/active_admin/views/components/blank_slate.rb
activeadmin-1.1.0 lib/active_admin/views/components/blank_slate.rb
yousty-activeadmin-1.0.15.pre lib/active_admin/views/components/blank_slate.rb
activeadmin-1.0.0 lib/active_admin/views/components/blank_slate.rb
activeadmin-1.0.0.pre5 lib/active_admin/views/components/blank_slate.rb
activeadmin-orac-1.0.0.pre4 lib/active_admin/views/components/blank_slate.rb
activeadmin-orac-1.0.0 lib/active_admin/views/components/blank_slate.rb
activeadmin-orac-1.0.0.pre.orac lib/active_admin/views/components/blank_slate.rb
yousty-activeadmin-1.0.14.pre lib/active_admin/views/components/blank_slate.rb
yousty-activeadmin-1.0.13.pre lib/active_admin/views/components/blank_slate.rb
yousty-activeadmin-1.0.12.pre lib/active_admin/views/components/blank_slate.rb
yousty-activeadmin-1.0.11.pre lib/active_admin/views/components/blank_slate.rb
yousty-activeadmin-1.0.10.pre lib/active_admin/views/components/blank_slate.rb
yousty-activeadmin-1.0.9.pre lib/active_admin/views/components/blank_slate.rb
yousty-activeadmin-1.0.8.pre lib/active_admin/views/components/blank_slate.rb
activeadmin-1.0.0.pre4 lib/active_admin/views/components/blank_slate.rb
activeadmin-1.0.0.pre3 lib/active_admin/views/components/blank_slate.rb
activeadmin-1.0.0.pre2 lib/active_admin/views/components/blank_slate.rb
activeadmin-1.0.0.pre1 lib/active_admin/views/components/blank_slate.rb