Sha256: 9f8051e04463dfa7291f43856612f06fb37314f3581ea4ef7e06cfc69cfc4a14
Contents?: true
Size: 858 Bytes
Versions: 6
Compression:
Stored size: 858 Bytes
Contents
# frozen_string_literal: true module Decidim module Design module FollowHelper def follow_sections [ { id: "usage", title: t("decidim.design.helpers.usage"), contents: [ { type: :text, values: [t("decidim.design.helpers.follower_description_html")] }, { type: :cell_table, options: { headings: [t("decidim.design.helpers.follow_button")] }, cell_snippet: { cell: "decidim/follow_button", args: [Decidim::User.where.not(id: current_user&.id).first], call_string: 'cell("decidim/follow_button", _FOLLOWABLE_RESOURCE_)' } } ] } ] end end end end
Version data entries
6 entries across 6 versions & 1 rubygems