Sha256: 9e3e52ffc92abe802af968c8d984fecf763ec89f32016e4a9ea251dc98834765

Contents?: true

Size: 319 Bytes

Versions: 58

Compression:

Stored size: 319 Bytes

Contents

# frozen_string_literal: true

module Decidim
  # Helper to print layout elements for the different help elements available on the pages.
  module ContextualHelpHelper
    def floating_help(id, &block)
      render partial: "decidim/shared/floating_help", locals: { content: capture(&block), id: id }
    end
  end
end

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
decidim-core-0.27.9 app/helpers/decidim/contextual_help_helper.rb
decidim-core-0.27.8 app/helpers/decidim/contextual_help_helper.rb
decidim-core-0.27.7 app/helpers/decidim/contextual_help_helper.rb
decidim-core-0.27.6 app/helpers/decidim/contextual_help_helper.rb
decidim-core-0.26.10 app/helpers/decidim/contextual_help_helper.rb
decidim-core-0.26.9 app/helpers/decidim/contextual_help_helper.rb
decidim-core-0.27.5 app/helpers/decidim/contextual_help_helper.rb
decidim-core-0.26.8 app/helpers/decidim/contextual_help_helper.rb
decidim-core-0.27.4 app/helpers/decidim/contextual_help_helper.rb
decidim-core-0.27.3 app/helpers/decidim/contextual_help_helper.rb
decidim-core-0.26.7 app/helpers/decidim/contextual_help_helper.rb
decidim-core-0.26.5 app/helpers/decidim/contextual_help_helper.rb
decidim-core-0.27.2 app/helpers/decidim/contextual_help_helper.rb
decidim-core-0.27.1 app/helpers/decidim/contextual_help_helper.rb
decidim-core-0.26.4 app/helpers/decidim/contextual_help_helper.rb
decidim-core-0.27.0 app/helpers/decidim/contextual_help_helper.rb
decidim-core-0.26.3 app/helpers/decidim/contextual_help_helper.rb
decidim-core-0.27.0.rc2 app/helpers/decidim/contextual_help_helper.rb
decidim-core-0.27.0.rc1 app/helpers/decidim/contextual_help_helper.rb
decidim-core-0.26.2 app/helpers/decidim/contextual_help_helper.rb