Sha256: 2ab8445d842827f35686d45dc1fc270f451517d01a9f017de1cffffbc2e596e5

Contents?: true

Size: 416 Bytes

Versions: 13

Compression:

Stored size: 416 Bytes

Contents

# frozen_string_literal: true

require "cell/partial"

module Decidim
  module Sortitions
    # This cell renders the card for an instance of a Sortition
    # the default size is the Medium Card (:m)
    class SortitionCell < Decidim::ViewModel
      def show
        cell card_size, model, @options
      end

      private

      def card_size
        "decidim/sortitions/sortition_l"
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-sortitions-0.29.1 app/cells/decidim/sortitions/sortition_cell.rb
decidim-sortitions-0.28.4 app/cells/decidim/sortitions/sortition_cell.rb
decidim-sortitions-0.29.0 app/cells/decidim/sortitions/sortition_cell.rb
decidim-sortitions-0.28.3 app/cells/decidim/sortitions/sortition_cell.rb
decidim-sortitions-0.29.0.rc4 app/cells/decidim/sortitions/sortition_cell.rb
decidim-sortitions-0.29.0.rc3 app/cells/decidim/sortitions/sortition_cell.rb
decidim-sortitions-0.29.0.rc2 app/cells/decidim/sortitions/sortition_cell.rb
decidim-sortitions-0.29.0.rc1 app/cells/decidim/sortitions/sortition_cell.rb
decidim-sortitions-0.28.2 app/cells/decidim/sortitions/sortition_cell.rb
decidim-sortitions-0.28.1 app/cells/decidim/sortitions/sortition_cell.rb
decidim-sortitions-0.28.0 app/cells/decidim/sortitions/sortition_cell.rb
decidim-sortitions-0.28.0.rc5 app/cells/decidim/sortitions/sortition_cell.rb
decidim-sortitions-0.28.0.rc4 app/cells/decidim/sortitions/sortition_cell.rb