Module: Decidim::Meetings::Admin::ApplicationHelper

Includes:
Admin::ResourceScopeHelper, Decidim::MapHelper
Defined in:
decidim-meetings/app/helpers/decidim/meetings/admin/application_helper.rb

Overview

Custom helpers, scoped to the meetings admin engine.

Instance Method Summary collapse

Methods included from Admin::ResourceScopeHelper

#td_resource_scope_for, #th_resource_scope_label

Methods included from Decidim::MapHelper

#dynamic_map_for, #static_map_link

Instance Method Details

#tabs_id_for_agenda_item(agenda_item) ⇒ Object


16
17
18
# File 'decidim-meetings/app/helpers/decidim/meetings/admin/application_helper.rb', line 16

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


20
21
22
# File 'decidim-meetings/app/helpers/decidim/meetings/admin/application_helper.rb', line 20

def tabs_id_for_agenda_item_child(agenda_item)
  "meeting_agenda_item_#{agenda_item.to_param_child}"
end

#tabs_id_for_service(service) ⇒ Object


12
13
14
# File 'decidim-meetings/app/helpers/decidim/meetings/admin/application_helper.rb', line 12

def tabs_id_for_service(service)
  "meeting_service_#{service.to_param}"
end