Sha256: 8c0715a74b1c22bd257ab5a55ac66454605f8c9d550123a1697b80abb543128d
Contents?: true
Size: 446 Bytes
Versions: 7
Compression:
Stored size: 446 Bytes
Contents
# frozen_string_literal: true module Decidim module Debates # This cell renders the debate card for an instance of a Debate # the default size is the Medium Card (:m) class DebateCell < Decidim::ViewModel include DebateCellsHelper include Cell::ViewModel::Partial def show cell card_size, model end private def card_size "decidim/debates/debate_m" end end end end
Version data entries
7 entries across 7 versions & 1 rubygems