Sha256: 5f11c37e1febedda963876bd90e7883e6a215cb7412d10f4ef1bfa6952857a2a

Contents?: true

Size: 377 Bytes

Versions: 71

Compression:

Stored size: 377 Bytes

Contents

# frozen_string_literal: true

module Decidim
  # A Helper to render an Etherpad iframe.
  module PadHelper
    # Renders an iframe with the pad of a model that includes the
    # Paddable concern.
    #
    # paddable - The model to render the pad from.
    #
    # Returns nothing.
    def pad_iframe_for(paddable)
      cell "decidim/pad_iframe", paddable
    end
  end
end

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
decidim-core-0.20.1 app/helpers/decidim/pad_helper.rb
decidim-core-0.20.0 app/helpers/decidim/pad_helper.rb
decidim-core-0.19.1 app/helpers/decidim/pad_helper.rb
decidim-core-0.18.1 app/helpers/decidim/pad_helper.rb
decidim-core-0.19.0 app/helpers/decidim/pad_helper.rb
decidim-core-0.17.2 app/helpers/decidim/pad_helper.rb
decidim-core-0.18.0 app/helpers/decidim/pad_helper.rb
decidim-core-0.17.1 app/helpers/decidim/pad_helper.rb
decidim-core-0.16.1 app/helpers/decidim/pad_helper.rb
decidim-core-0.17.0 app/helpers/decidim/pad_helper.rb
decidim-core-0.16.0 app/helpers/decidim/pad_helper.rb