Class: TinyAdmin::Views::Pages::Content
- Inherits:
-
DefaultLayout
- Object
- Phlex::HTML
- BasicLayout
- DefaultLayout
- TinyAdmin::Views::Pages::Content
- Defined in:
- lib/tiny_admin/views/pages/content.rb
Instance Attribute Summary
Attributes inherited from DefaultLayout
#flash_component, #head_component, #messages, #navbar_component, #options, #title
Attributes inherited from BasicLayout
Instance Method Summary collapse
Methods inherited from BasicLayout
#label_for, #update_attributes
Methods included from Utils
#humanize, #params_to_s, #prepare_page, #to_class
Instance Method Details
#view_template ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/tiny_admin/views/pages/content.rb', line 7 def view_template super do div(class: 'content') { div(class: 'content-data') { unsafe_raw(content) } render TinyAdmin::Views::Components::Widgets.new() } end end |