Sha256: c37a40c0833246c119175900cef4eb0f37af5f22c393e594753009166bde7807

Contents?: true

Size: 384 Bytes

Versions: 15

Compression:

Stored size: 384 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module ContentBlocks
    module StaticPage
      class TwoPaneSectionCell < Decidim::ViewModel
        def left_column
          translated_attribute(model.settings.left_column).html_safe
        end

        def right_column
          translated_attribute(model.settings.right_column).html_safe
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
decidim-core-0.29.2 app/cells/decidim/content_blocks/static_page/two_pane_section_cell.rb
decidim-core-0.28.5 app/cells/decidim/content_blocks/static_page/two_pane_section_cell.rb
decidim-core-0.29.1 app/cells/decidim/content_blocks/static_page/two_pane_section_cell.rb
decidim-core-0.28.4 app/cells/decidim/content_blocks/static_page/two_pane_section_cell.rb
decidim-core-0.29.0 app/cells/decidim/content_blocks/static_page/two_pane_section_cell.rb
decidim-core-0.28.3 app/cells/decidim/content_blocks/static_page/two_pane_section_cell.rb
decidim-core-0.29.0.rc4 app/cells/decidim/content_blocks/static_page/two_pane_section_cell.rb
decidim-core-0.29.0.rc3 app/cells/decidim/content_blocks/static_page/two_pane_section_cell.rb
decidim-core-0.29.0.rc2 app/cells/decidim/content_blocks/static_page/two_pane_section_cell.rb
decidim-core-0.29.0.rc1 app/cells/decidim/content_blocks/static_page/two_pane_section_cell.rb
decidim-core-0.28.2 app/cells/decidim/content_blocks/static_page/two_pane_section_cell.rb
decidim-core-0.28.1 app/cells/decidim/content_blocks/static_page/two_pane_section_cell.rb
decidim-core-0.28.0 app/cells/decidim/content_blocks/static_page/two_pane_section_cell.rb
decidim-core-0.28.0.rc5 app/cells/decidim/content_blocks/static_page/two_pane_section_cell.rb
decidim-core-0.28.0.rc4 app/cells/decidim/content_blocks/static_page/two_pane_section_cell.rb