Sha256: 5c77cc7b1448d1334c471d36548324fa0dbbfc8224eb87e7d2048d1d3c005ee7
Contents?: true
Size: 522 Bytes
Versions: 13
Compression:
Stored size: 522 Bytes
Contents
# frozen_string_literal: true module Decidim module Conferences # This cell renders the conference card for an instance of a Conference # the default size is the Grid Card (:g) class ConferenceCell < Decidim::ViewModel def show cell card_size, model, options end private def card_size case @options[:size] when :s "decidim/conferences/conference_s" else "decidim/conferences/conference_g" end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems