Class: Decidim::Consultations::ContentBlocks::HighlightedConsultationsSettingsFormCell

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

Instance Method Summary collapse

Instance Method Details

#content_blockObject



9
10
11
# File 'app/cells/decidim/consultations/content_blocks/highlighted_consultations_settings_form_cell.rb', line 9

def content_block
  options[:content_block]
end

#labelObject



13
14
15
# File 'app/cells/decidim/consultations/content_blocks/highlighted_consultations_settings_form_cell.rb', line 13

def label
  I18n.t("decidim.consultations.admin.content_blocks.highlighted_consultations.max_results")
end