Module: EffectiveCommitteesHelper
- Defined in:
- app/helpers/effective_committees_helper.rb
Instance Method Summary collapse
- #admin_committees_parents(resource) ⇒ Object
- #committee_file_label ⇒ Object
- #committee_files_label ⇒ Object
- #committee_folder_label ⇒ Object
- #committee_folders_label ⇒ Object
- #committee_label ⇒ Object
- #committee_member_label ⇒ Object
- #committee_members_label ⇒ Object
- #committees_label ⇒ Object
- #committees_name_label ⇒ Object
Instance Method Details
#admin_committees_parents(resource) ⇒ Object
39 40 41 42 |
# File 'app/helpers/effective_committees_helper.rb', line 39 def admin_committees_parents(resource) parents = resource.parents + [resource] render(partial: 'admin/committees/parents', locals: { parents: parents }, formats: [:html]) end |
#committee_file_label ⇒ Object
31 32 33 |
# File 'app/helpers/effective_committees_helper.rb', line 31 def committee_file_label et(Effective::CommitteeFile) end |
#committee_files_label ⇒ Object
35 36 37 |
# File 'app/helpers/effective_committees_helper.rb', line 35 def committee_files_label ets(Effective::CommitteeFile) end |
#committee_folder_label ⇒ Object
23 24 25 |
# File 'app/helpers/effective_committees_helper.rb', line 23 def committee_folder_label et(Effective::CommitteeFolder) end |
#committee_folders_label ⇒ Object
27 28 29 |
# File 'app/helpers/effective_committees_helper.rb', line 27 def committee_folders_label ets(Effective::CommitteeFolder) end |
#committee_label ⇒ Object
7 8 9 |
# File 'app/helpers/effective_committees_helper.rb', line 7 def committee_label et(Effective::Committee) end |
#committee_member_label ⇒ Object
15 16 17 |
# File 'app/helpers/effective_committees_helper.rb', line 15 def committee_member_label et(Effective::CommitteeMember) end |
#committee_members_label ⇒ Object
19 20 21 |
# File 'app/helpers/effective_committees_helper.rb', line 19 def committee_members_label ets(Effective::CommitteeMember) end |
#committees_label ⇒ Object
11 12 13 |
# File 'app/helpers/effective_committees_helper.rb', line 11 def committees_label ets(Effective::Committee) end |
#committees_name_label ⇒ Object
3 4 5 |
# File 'app/helpers/effective_committees_helper.rb', line 3 def committees_name_label et('effective_committees.name') end |