Sha256: ed30e074054f5a7477b45e410926cee9a07a2be8bb245d32a280bc5b7a76dbac
Contents?: true
Size: 339 Bytes
Versions: 59
Compression:
Stored size: 339 Bytes
Contents
# frozen_string_literal: true module Decidim module Forms # This cell renders a possible matrix answer of a question (readonly) class MatrixReadonlyCell < Decidim::ViewModel def answer_options model.question.answer_options.map { |option| translated_attribute(option.body) }.join(" / ") end end end end
Version data entries
59 entries across 59 versions & 1 rubygems