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.26.8 app/helpers/decidim/pad_helper.rb
decidim-core-0.27.4 app/helpers/decidim/pad_helper.rb
decidim-core-0.27.3 app/helpers/decidim/pad_helper.rb
decidim-core-0.26.7 app/helpers/decidim/pad_helper.rb
decidim-core-0.26.5 app/helpers/decidim/pad_helper.rb
decidim-core-0.27.2 app/helpers/decidim/pad_helper.rb
decidim-core-0.27.1 app/helpers/decidim/pad_helper.rb
decidim-core-0.26.4 app/helpers/decidim/pad_helper.rb
decidim-core-0.27.0 app/helpers/decidim/pad_helper.rb
decidim-core-0.26.3 app/helpers/decidim/pad_helper.rb
decidim-core-0.27.0.rc2 app/helpers/decidim/pad_helper.rb
decidim-core-0.27.0.rc1 app/helpers/decidim/pad_helper.rb
decidim-core-0.26.2 app/helpers/decidim/pad_helper.rb
decidim-core-0.26.1 app/helpers/decidim/pad_helper.rb
decidim-core-0.26.0 app/helpers/decidim/pad_helper.rb
decidim-core-0.26.0.rc2 app/helpers/decidim/pad_helper.rb
decidim-core-0.26.0.rc1 app/helpers/decidim/pad_helper.rb
decidim-core-0.25.2 app/helpers/decidim/pad_helper.rb
decidim-core-0.25.1 app/helpers/decidim/pad_helper.rb
decidim-core-0.25.0 app/helpers/decidim/pad_helper.rb