Sha256: ce3bba00d23f3478c55f91260c8d4e6c288582c2dd222ffb970ce5d12dd3cc62

Contents?: true

Size: 348 Bytes

Versions: 65

Compression:

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

65 entries across 65 versions & 3 rubygems

Version Path
activeadmin-0.3.4 lib/active_admin/views/components/blank_slate.rb
activeadmin-0.3.3 lib/active_admin/views/components/blank_slate.rb
activeadmin-0.3.2 lib/active_admin/views/components/blank_slate.rb
activeadmin-0.3.1 lib/active_admin/views/components/blank_slate.rb
activeadmin-0.3.0 lib/active_admin/views/components/blank_slate.rb