Class: ActiveAdmin::Views::BlankSlate

Inherits:
Component
  • Object
show all
Defined in:
lib/active_admin/views/components/blank_slate.rb

Overview

Build a Blank Slate

Instance Method Summary collapse

Methods inherited from Component

#initialize, #tag_name

Constructor Details

This class inherits a constructor from ActiveAdmin::Component

Instance Method Details

#build(content) ⇒ Object



11
12
13
# File 'lib/active_admin/views/components/blank_slate.rb', line 11

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

#default_class_nameObject



7
8
9
# File 'lib/active_admin/views/components/blank_slate.rb', line 7

def default_class_name
  'blank_slate_container'
end