Sha256: 5117b7bcbefef0412b1c0961a4ff9f4e6bed4ec809d7da6bf41db100ca37ce95

Contents?: true

Size: 331 Bytes

Versions: 12

Compression:

Stored size: 331 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

12 entries across 12 versions & 3 rubygems

Version Path
activeadmin-0.6.6 lib/active_admin/views/components/blank_slate.rb
activeadmin-0.6.5 lib/active_admin/views/components/blank_slate.rb
activeadmin-0.6.4 lib/active_admin/views/components/blank_slate.rb
yousty-activeadmin-1.0.4.pre lib/active_admin/views/components/blank_slate.rb
yousty-activeadmin-1.0.3.pre lib/active_admin/views/components/blank_slate.rb
yousty-activeadmin-1.0.2.pre lib/active_admin/views/components/blank_slate.rb
activeadmin-0.6.3 lib/active_admin/views/components/blank_slate.rb
yousty-activeadmin-1.0.1.pre lib/active_admin/views/components/blank_slate.rb
yousty-activeadmin-1.0.0.pre lib/active_admin/views/components/blank_slate.rb
activeadmin-0.6.2 lib/active_admin/views/components/blank_slate.rb
activeadmin-0.6.1 lib/active_admin/views/components/blank_slate.rb
aa-rails4-0.6.0 lib/active_admin/views/components/blank_slate.rb