Module: Decidim::PadHelper
- Defined in:
- app/helpers/decidim/pad_helper.rb
Overview
A Helper to render an Etherpad iframe.
Instance Method Summary collapse
-
#pad_iframe_for(paddable) ⇒ Object
Renders an iframe with the pad of a model that includes the Paddable concern.
Instance Method Details
#pad_iframe_for(paddable) ⇒ Object
Renders an iframe with the pad of a model that includes the Paddable concern.
paddable - The model to render the pad from.
Returns nothing.
12 13 14 |
# File 'app/helpers/decidim/pad_helper.rb', line 12 def pad_iframe_for(paddable) cell "decidim/pad_iframe", paddable end |