Module: Maglove::Widgets::RawHtml::Helpers
- Defined in:
- lib/maglove/widgets/raw_html.rb
Instance Method Summary collapse
Instance Method Details
#raw_html_widget(options = {}, &block) ⇒ Object
16 17 18 19 20 21 22 |
# File 'lib/maglove/widgets/raw_html.rb', line 16 def ( = {}, &block) (Widgets::RawHtml.new()) do || haml_tag :div, class: "iframe-container", style: style_string(., :margin, :padding) do haml_tag :iframe, src: .[:src], style: .[:css] end end end |