Class: Decidim::Budgets::ProjectVotedHintCell
- Defined in:
- app/cells/decidim/budgets/project_voted_hint_cell.rb
Overview
This cell renders a checkmark with a text.
Instance Method Summary collapse
Methods inherited from BaseCell
Instance Method Details
#show ⇒ Object
9 10 11 12 13 |
# File 'app/cells/decidim/budgets/project_voted_hint_cell.rb', line 9 def show return unless voted_for?(model) content_tag :span, safe_join(hint), class: css_class end |