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)

Instance Method Details

- (Object) build(content)



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

- (Object) default_class_name



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

def default_class_name
  'blank_slate_container'
end