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.26.8 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.27.4 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.27.3 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.26.7 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.26.5 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.27.2 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.27.1 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.26.4 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.27.0 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.26.3 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.27.0.rc2 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.27.0.rc1 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.26.2 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.26.1 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.26.0 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.26.0.rc2 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.26.0.rc1 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.25.2 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.25.1 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.25.0 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb