MainLayout
Inherits Lucky::HTMLPage < Habitat::SettingsHelpers < Habitat::TempConfig < Lucky::HTMLBuilder < Lucky::SelectHelpers < Lucky::LabelHelpers < Lucky::InputHelpers < Lucky::SvgInliner < Lucky::LiveReloadTag < Lucky::TagDefaults < Lucky::RenderIfDefined < Lucky::HelpfulParagraphError < Lucky::MountComponent < Lucky::ForgeryProtectionHelpers < Lucky::TimeHelpers < Lucky::UrlHelpers < Lucky::HTMLTextHelpers < Lucky::TextHelpers < Lucky::NumberToCurrency < Lucky::AssetHelpers < Lucky::Assignable < Lucky::SpecialtyTags < Lucky::FormHelpers < Habitat::SettingsHelpers < Habitat::TempConfig < Lucky::LinkHelpers < Lucky::CustomTags < Lucky::CheckTagContent < Lucky::BaseTags < Lucky::CheckTagContent < Reference < Object
Constants
Instance methods
'needs current_user : User' makes it so that the current_user is always required for pages using MainLayout
MainLayout defines a default 'page_title'.
Add a 'page_title' method to your indivual pages to customize each page's title.
Or, if you want to require every page to set a title, change the 'page_title' method in this layout to:
abstract def page_title : String
This will force pages to define their own 'page_title' method.