Class: Decidim::Votings::ContentBlocks::LandingPage::PollingStationsCell

Inherits:
Decidim::ViewModel
  • Object
show all
Includes:
IconHelper, LayoutHelper, MapHelper, NeedsSnippets, SanitizeHelper
Defined in:
decidim-elections/app/cells/decidim/votings/content_blocks/landing_page/polling_stations_cell.rb

Constant Summary

Constants included from IconHelper

IconHelper::DEFAULT_RESOURCE_TYPE_ICONS

Instance Method Summary collapse

Methods included from NeedsSnippets

#snippets

Methods included from IconHelper

#component_icon, #manifest_icon, #resource_icon, #resource_type_icon, #resource_type_icon_key

Instance Method Details

#showObject


18
19
20
21
22
# File 'decidim-elections/app/cells/decidim/votings/content_blocks/landing_page/polling_stations_cell.rb', line 18

def show
  return if current_participatory_space.online_voting?

  render
end