Sha256: e0ce15326f0072bc1845a3932638a1b410d90bfd87f1c6030c2eda3b4df057e4
Contents?: true
Size: 912 Bytes
Versions: 13
Compression:
Stored size: 912 Bytes
Contents
# frozen_string_literal: true module Decidim module ParticipatoryProcesses module ContentBlocks class MainDataCell < Decidim::ContentBlocks::ParticipatorySpaceMainDataCell include ParticipatorySpaceContentBlocksHelper include ParticipatoryProcessHelper include Decidim::ComponentPathHelper include ActiveLinkTo delegate :short_description, :description, to: :resource private def title_text t("title", scope: "decidim.participatory_processes.participatory_processes.show") end def short_description_text decidim_sanitize_editor_admin translated_attribute(short_description) end def description_text decidim_sanitize_editor_admin translated_attribute(description) end def nav_items process_nav_items(resource) end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems