Sha256: 8e6d01125cb63bafa4ac40b4de8b9407e1627cad013130bd050689a652e76d60

Contents?: true

Size: 418 Bytes

Versions: 24

Compression:

Stored size: 418 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Initiatives
    module ContentBlocks
      class HighlightedInitiativesSettingsFormCell < Decidim::ViewModel
        alias form model

        def content_block
          options[:content_block]
        end

        def label
          I18n.t("decidim.initiatives.admin.content_blocks.highlighted_initiatives.max_results")
        end
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
decidim-initiatives-0.23.6 app/cells/decidim/initiatives/content_blocks/highlighted_initiatives_settings_form_cell.rb
decidim-initiatives-0.23.5 app/cells/decidim/initiatives/content_blocks/highlighted_initiatives_settings_form_cell.rb
decidim-initiatives-0.23.4 app/cells/decidim/initiatives/content_blocks/highlighted_initiatives_settings_form_cell.rb
decidim-initiatives-0.23.3 app/cells/decidim/initiatives/content_blocks/highlighted_initiatives_settings_form_cell.rb
decidim-initiatives-0.23.2 app/cells/decidim/initiatives/content_blocks/highlighted_initiatives_settings_form_cell.rb
decidim-initiatives-0.23.1 app/cells/decidim/initiatives/content_blocks/highlighted_initiatives_settings_form_cell.rb
decidim-initiatives-0.23.1.rc1 app/cells/decidim/initiatives/content_blocks/highlighted_initiatives_settings_form_cell.rb
decidim-initiatives-0.23.0 app/cells/decidim/initiatives/content_blocks/highlighted_initiatives_settings_form_cell.rb
decidim-initiatives-0.22.0 app/cells/decidim/initiatives/content_blocks/highlighted_initiatives_settings_form_cell.rb
decidim-initiatives-0.21.0 app/cells/decidim/initiatives/content_blocks/highlighted_initiatives_settings_form_cell.rb
decidim-initiatives-0.20.1 app/cells/decidim/initiatives/content_blocks/highlighted_initiatives_settings_form_cell.rb
decidim-initiatives-0.20.0 app/cells/decidim/initiatives/content_blocks/highlighted_initiatives_settings_form_cell.rb
decidim-initiatives-0.19.1 app/cells/decidim/initiatives/content_blocks/highlighted_initiatives_settings_form_cell.rb
decidim-initiatives-0.18.1 app/cells/decidim/initiatives/content_blocks/highlighted_initiatives_settings_form_cell.rb
decidim-initiatives-0.19.0 app/cells/decidim/initiatives/content_blocks/highlighted_initiatives_settings_form_cell.rb
decidim-initiatives-0.17.2 app/cells/decidim/initiatives/content_blocks/highlighted_initiatives_settings_form_cell.rb
decidim-initiatives-0.18.0 app/cells/decidim/initiatives/content_blocks/highlighted_initiatives_settings_form_cell.rb
decidim-initiatives-0.17.1 app/cells/decidim/initiatives/content_blocks/highlighted_initiatives_settings_form_cell.rb
decidim-initiatives-0.16.1 app/cells/decidim/initiatives/content_blocks/highlighted_initiatives_settings_form_cell.rb
decidim-initiatives-0.17.0 app/cells/decidim/initiatives/content_blocks/highlighted_initiatives_settings_form_cell.rb