Class: TinyAdmin::Views::Pages::PageNotAllowed
- Inherits:
-
DefaultLayout
- Object
- Phlex::HTML
- BasicLayout
- DefaultLayout
- TinyAdmin::Views::Pages::PageNotAllowed
- Defined in:
- lib/tiny_admin/views/pages/page_not_allowed.rb
Instance Attribute Summary
Attributes inherited from DefaultLayout
#flash_component, #head_component, #messages, #navbar_component, #options
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
#title ⇒ Object
15 16 17 |
# File 'lib/tiny_admin/views/pages/page_not_allowed.rb', line 15 def title 'Page not allowed' end |
#view_template ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/tiny_admin/views/pages/page_not_allowed.rb', line 7 def view_template super do div(class: 'page_not_allowed') { h1(class: 'title') { title } } end end |