Class: Decidim::Budgets::LimitAnnouncementCell
- Defined in:
- decidim-budgets/app/cells/decidim/budgets/limit_announcement_cell.rb
Overview
This cell renders information when current user can’t create more budgets orders.
Instance Method Summary collapse
Methods inherited from BaseCell
Methods included from ComponentPathHelper
#can_be_managed?, #main_component_path, #main_component_url, #manage_component_path
Instance Method Details
#show ⇒ Object
11 12 13 |
# File 'decidim-budgets/app/cells/decidim/budgets/limit_announcement_cell.rb', line 11 def show cell("decidim/announcement", , callout_class: "warning") if announce? end |