Class: Decidim::FooterMenuPresenter
- Inherits:
-
MenuPresenter
- Object
- MenuPresenter
- Decidim::FooterMenuPresenter
- Defined in:
- app/presenters/decidim/footer_menu_presenter.rb
Overview
A presenter to render footer menu
Instance Method Summary collapse
Methods inherited from MenuPresenter
#active_item, #evaluated_menu, #initialize
Constructor Details
This class inherits a constructor from Decidim::MenuPresenter
Instance Method Details
#render ⇒ Object
6 7 8 9 10 |
# File 'app/presenters/decidim/footer_menu_presenter.rb', line 6 def render content_tag(:nav, :role => "navigation", "aria-label" => @options[:label]) do safe_join([content_tag(:h2, @options[:label], class: "h5 mb-4"), ]) end end |