Sha256: 69b7bf432c51925c9b1b84dcf6f0db1f3c96e7486110bd8b7296fc7d64a43120
Contents?: true
Size: 566 Bytes
Versions: 37
Compression:
Stored size: 566 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 Medium Card (:m) 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_m" end end end end end
Version data entries
37 entries across 37 versions & 1 rubygems