Sha256: 37cadb099b0aa246eb765c784cd61ecf38441b6a777b48f4087cb05420cd7879

Contents?: true

Size: 419 Bytes

Versions: 13

Compression:

Stored size: 419 Bytes

Contents

# frozen_string_literal: true

require "cell/partial"

module Decidim
  module Accountability
    # This cell renders the result card for an instance of a Result
    # the default size is the List Card (:l)
    class ResultCell < Decidim::ViewModel
      def show
        cell card_size, model, options
      end

      private

      def card_size
        "decidim/accountability/result_l"
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

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