Sha256: 3e32cb82f9f15cd116ed9ec8b52144c669ed74af65b829e6abb3b66212fe488f

Contents?: true

Size: 228 Bytes

Versions: 61

Compression:

Stored size: 228 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module ContentBlocks
    class HtmlCell < Decidim::ViewModel
      def html_content
        translated_attribute(model.settings.html_content).html_safe
      end
    end
  end
end

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
decidim-core-0.23.3 app/cells/decidim/content_blocks/html_cell.rb
decidim-core-0.23.2 app/cells/decidim/content_blocks/html_cell.rb
decidim-core-0.23.1 app/cells/decidim/content_blocks/html_cell.rb
decidim-core-0.23.1.rc1 app/cells/decidim/content_blocks/html_cell.rb
decidim-core-0.23.0 app/cells/decidim/content_blocks/html_cell.rb
decidim-core-0.22.0 app/cells/decidim/content_blocks/html_cell.rb
decidim-core-0.21.0 app/cells/decidim/content_blocks/html_cell.rb
decidim-core-0.20.1 app/cells/decidim/content_blocks/html_cell.rb
decidim-core-0.20.0 app/cells/decidim/content_blocks/html_cell.rb
decidim-core-0.19.1 app/cells/decidim/content_blocks/html_cell.rb
decidim-core-0.18.1 app/cells/decidim/content_blocks/html_cell.rb
decidim-core-0.19.0 app/cells/decidim/content_blocks/html_cell.rb
decidim-core-0.17.2 app/cells/decidim/content_blocks/html_cell.rb
decidim-core-0.18.0 app/cells/decidim/content_blocks/html_cell.rb
decidim-core-0.17.1 app/cells/decidim/content_blocks/html_cell.rb
decidim-core-0.16.1 app/cells/decidim/content_blocks/html_cell.rb
decidim-core-0.17.0 app/cells/decidim/content_blocks/html_cell.rb
decidim-core-0.16.0 app/cells/decidim/content_blocks/html_cell.rb
decidim-core-0.15.2 app/cells/decidim/content_blocks/html_cell.rb
decidim-core-0.15.1 app/cells/decidim/content_blocks/html_cell.rb