Class: Decidim::ParticipatoryProcesses::ContentBlocks::HighlightedProcessesSettingsFormCell

Inherits:
ViewModel
  • Object
show all
Defined in:
app/cells/decidim/participatory_processes/content_blocks/highlighted_processes_settings_form_cell.rb

Instance Method Summary collapse

Instance Method Details

#content_blockObject



9
10
11
# File 'app/cells/decidim/participatory_processes/content_blocks/highlighted_processes_settings_form_cell.rb', line 9

def content_block
  options[:content_block]
end

#labelObject



13
14
15
# File 'app/cells/decidim/participatory_processes/content_blocks/highlighted_processes_settings_form_cell.rb', line 13

def label
  I18n.t("decidim.participatory_processes.admin.content_blocks.highlighted_processes.max_results")
end