Class: ActiveAdmin::Views::BlankSlate
- Defined in:
- lib/active_admin/views/components/blank_slate.rb
Overview
Build a Blank Slate
Instance Method Summary collapse
Methods inherited from Component
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_name ⇒ Object
7 8 9 |
# File 'lib/active_admin/views/components/blank_slate.rb', line 7 def default_class_name 'blank_slate_container' end |