Sha256: 08926ff22eca24fcb5aa112855b3c33ef5a26dfd4e6af69c7d42f145c30c81eb
Contents?: true
Size: 825 Bytes
Versions: 6
Compression:
Stored size: 825 Bytes
Contents
# frozen_string_literal: true module Decidim module Design module ReportHelper def report_sections [ { id: "usage", title: t("decidim.design.helpers.usage"), contents: [ { type: :text, values: [t("decidim.design.helpers.report_usage_description")] }, { type: :cell_table, options: { headings: [t("decidim.design.helpers.report_button")] }, cell_snippet: { cell: "decidim/report_button", args: [Decidim::User.first], call_string: 'cell("decidim/report_button", _REPORTABLE_RESOURCE_)' } } ] } ] end end end end
Version data entries
6 entries across 6 versions & 1 rubygems