Module: Decidim::Meetings::Admin::ApplicationHelper
- Includes:
- Admin::ResourceScopeHelper, Decidim::MapHelper, PaginateHelper
- Defined in:
- app/helpers/decidim/meetings/admin/application_helper.rb
Overview
Custom helpers, scoped to the meetings admin engine.
Instance Method Summary collapse
- #tabs_id_for_agenda_item(agenda_item) ⇒ Object
- #tabs_id_for_agenda_item_child(agenda_item) ⇒ Object
- #tabs_id_for_service(service) ⇒ Object
Instance Method Details
#tabs_id_for_agenda_item(agenda_item) ⇒ Object
17 18 19 |
# File 'app/helpers/decidim/meetings/admin/application_helper.rb', line 17 def tabs_id_for_agenda_item(agenda_item) "meeting_agenda_item_#{agenda_item.to_param}" end |
#tabs_id_for_agenda_item_child(agenda_item) ⇒ Object
21 22 23 |
# File 'app/helpers/decidim/meetings/admin/application_helper.rb', line 21 def tabs_id_for_agenda_item_child(agenda_item) "meeting_agenda_item_#{agenda_item.to_param_child}" end |
#tabs_id_for_service(service) ⇒ Object
13 14 15 |
# File 'app/helpers/decidim/meetings/admin/application_helper.rb', line 13 def tabs_id_for_service(service) "meeting_service_#{service.to_param}" end |