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

#build(content) ⇒ Object


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

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

#default_class_nameObject


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

def default_class_name
  "blank_slate_container"
end