class Maglove::Widget::LegacyPage
Public Instance Methods
defaults()
click to toggle source
# File lib/maglove/widget/page.rb, line 21 def defaults { text_color: "#000000", background_color: "#FFFFFF" } end
identifier()
click to toggle source
# File lib/maglove/widget/page.rb, line 17 def identifier "page" end
render() { |self| ... }
click to toggle source
Calls superclass method
Maglove::Widget::V1#render
# File lib/maglove/widget/page.rb, line 28 def render(&block) super do haml_tag :div, id: "page-container" do haml_tag :div, id: "page-contents" do yield self if block_given? end end end end