Sha256: d30a393606b30c9c0a65dad4a0ea1c762aec6482344c401cec438c42402e3087

Contents?: true

Size: 357 Bytes

Versions: 13

Compression:

Stored size: 357 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module DecidimAwesome
    module ContentBlocks
      class MapFormCell < Decidim::ViewModel
        alias form model

        def content_block
          options[:content_block]
        end

        def i18n_scope
          "decidim.decidim_awesome.content_blocks.map"
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-decidim_awesome-0.10.3 app/cells/decidim/decidim_awesome/content_blocks/map_form_cell.rb
decidim-decidim_awesome-0.11.2 app/cells/decidim/decidim_awesome/content_blocks/map_form_cell.rb
decidim-decidim_awesome-0.11.1 app/cells/decidim/decidim_awesome/content_blocks/map_form_cell.rb
decidim-decidim_awesome-0.10.2 app/cells/decidim/decidim_awesome/content_blocks/map_form_cell.rb
decidim-decidim_awesome-0.10.1 app/cells/decidim/decidim_awesome/content_blocks/map_form_cell.rb
decidim-decidim_awesome-0.10.0 app/cells/decidim/decidim_awesome/content_blocks/map_form_cell.rb
decidim-decidim_awesome-0.9.3 app/cells/decidim/decidim_awesome/content_blocks/map_form_cell.rb
decidim-decidim_awesome-0.9.1 app/cells/decidim/decidim_awesome/content_blocks/map_form_cell.rb
decidim-decidim_awesome-0.8.3 app/cells/decidim/decidim_awesome/content_blocks/map_form_cell.rb
decidim-decidim_awesome-0.8.2 app/cells/decidim/decidim_awesome/content_blocks/map_form_cell.rb
decidim-decidim_awesome-0.8.1 app/cells/decidim/decidim_awesome/content_blocks/map_form_cell.rb
decidim-decidim_awesome-0.8.0 app/cells/decidim/decidim_awesome/content_blocks/map_form_cell.rb
decidim-decidim_awesome-0.7.2 app/cells/decidim/decidim_awesome/content_blocks/map_form_cell.rb