Sha256: 932e1bbd55ed1e3250c32e6fd72031474612560e2e0400e72c45da22a81fdfde

Contents?: true

Size: 414 Bytes

Versions: 74

Compression:

Stored size: 414 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Assemblies
    module ContentBlocks
      class HighlightedAssembliesSettingsFormCell < Decidim::ViewModel
        alias form model

        def content_block
          options[:content_block]
        end

        def label
          I18n.t("decidim.assemblies.admin.content_blocks.highlighted_assemblies.max_results")
        end
      end
    end
  end
end

Version data entries

74 entries across 74 versions & 1 rubygems

Version Path
decidim-assemblies-0.29.1 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.28.4 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.27.9 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.29.0 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.28.3 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.27.8 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.29.0.rc4 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.29.0.rc3 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.29.0.rc2 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.29.0.rc1 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.28.2 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.27.7 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.28.1 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.27.6 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.26.10 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.26.9 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.28.0 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.27.5 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.28.0.rc5 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.28.0.rc4 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb