Class: Decidim::EndorsersListCell

Inherits:
ViewModel
  • Object
show all
Includes:
ApplicationHelper
Defined in:
decidim-core/app/cells/decidim/endorsers_list_cell.rb

Overview

This cell renders the list of endorsers.

Example:

cell("decidim/endorsers_list", my_component)

Instance Method Summary collapse

Instance Method Details

#showObject


14
15
16
17
18
# File 'decidim-core/app/cells/decidim/endorsers_list_cell.rb', line 14

def show
  return unless endorsers.any?

  render
end