Sha256: d515ecb9cf087048279c762e19933ea8c2f6be976029b811e9e84a7e0e7c3ca7
Contents?: true
Size: 564 Bytes
Versions: 13
Compression:
Stored size: 564 Bytes
Contents
# frozen_string_literal: true module Decidim module ParticipatoryProcesses # This cell renders the process card for an instance of a ProcessGroup # the default size is the Grid Card (:g) class ProcessGroupCell < Decidim::ViewModel def show cell card_size, model, options end private def card_size case @options[:size] when :s "decidim/participatory_processes/process_group_s" else "decidim/participatory_processes/process_group_g" end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems