Sha256: 74bbb0bca7dce0be22ec3ebd8f54b56287ec06bb5c5ae96d2254ac506cd77a8a

Contents?: true

Size: 421 Bytes

Versions: 37

Compression:

Stored size: 421 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 Medium Card (:m)
    class ResultCell < Decidim::ViewModel
      def show
        cell card_size, model, options
      end

      private

      def card_size
        "decidim/accountability/result_m"
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
decidim-accountability-0.27.9 app/cells/decidim/accountability/result_cell.rb
decidim-accountability-0.27.8 app/cells/decidim/accountability/result_cell.rb
decidim-accountability-0.27.7 app/cells/decidim/accountability/result_cell.rb
decidim-accountability-0.27.6 app/cells/decidim/accountability/result_cell.rb
decidim-accountability-0.26.10 app/cells/decidim/accountability/result_cell.rb
decidim-accountability-0.26.9 app/cells/decidim/accountability/result_cell.rb
decidim-accountability-0.27.5 app/cells/decidim/accountability/result_cell.rb
decidim-accountability-0.26.8 app/cells/decidim/accountability/result_cell.rb
decidim-accountability-0.27.4 app/cells/decidim/accountability/result_cell.rb
decidim-accountability-0.27.3 app/cells/decidim/accountability/result_cell.rb
decidim-accountability-0.26.7 app/cells/decidim/accountability/result_cell.rb
decidim-accountability-0.26.5 app/cells/decidim/accountability/result_cell.rb
decidim-accountability-0.27.2 app/cells/decidim/accountability/result_cell.rb
decidim-accountability-0.27.1 app/cells/decidim/accountability/result_cell.rb
decidim-accountability-0.26.4 app/cells/decidim/accountability/result_cell.rb
decidim-accountability-0.27.0 app/cells/decidim/accountability/result_cell.rb
decidim-accountability-0.26.3 app/cells/decidim/accountability/result_cell.rb
decidim-accountability-0.27.0.rc2 app/cells/decidim/accountability/result_cell.rb
decidim-accountability-0.27.0.rc1 app/cells/decidim/accountability/result_cell.rb
decidim-accountability-0.26.2 app/cells/decidim/accountability/result_cell.rb