Class: Decidim::Budgets::LimitAnnouncementCell

Inherits:
BaseCell
  • Object
show all
Defined in:
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

#budgets_link_list

Instance Method Details

#showObject



11
12
13
# File 'app/cells/decidim/budgets/limit_announcement_cell.rb', line 11

def show
  cell("decidim/announcement", announcement_message, callout_class: "warning") if announce?
end