Module: Decidim::Budgets::Admin::ProjectBulkActionsHelper

Defined in:
app/helpers/decidim/budgets/admin/project_bulk_actions_helper.rb

Instance Method Summary collapse

Instance Method Details

#bulk_selectionsObject



7
8
9
10
11
12
13
14
15
16
# File 'app/helpers/decidim/budgets/admin/project_bulk_actions_helper.rb', line 7

def bulk_selections
  select(
    :selected,
    :value,
    [
      [t("projects.index.select_for_implementation", scope: "decidim.budgets.admin"), true],
      [t("projects.index.deselect_implementation", scope: "decidim.budgets.admin"), false]
    ]
  )
end