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.15.0 app/cells/decidim/content_blocks/html_cell.rb