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.20.1 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.20.0 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.19.1 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.18.1 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.19.0 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.17.2 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.18.0 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.17.1 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.16.1 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.17.0 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.16.0 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.15.2 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.15.1 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb
decidim-assemblies-0.15.0 app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form_cell.rb