Sha256: 4f9530bd6e211dda396bc86f9f0358c9236dcfef50d19128f40fbcedb441a59a

Contents?: true

Size: 405 Bytes

Versions: 65

Compression:

Stored size: 405 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Initiatives
    # This cell renders the process card for an instance of an Initiative
    # the default size is the Medium Card (:m)
    class InitiativeCell < Decidim::ViewModel
      def show
        cell card_size, model, options
      end

      private

      def card_size
        "decidim/initiatives/initiative_m"
      end
    end
  end
end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
decidim-initiatives-0.23.3 app/cells/decidim/initiatives/initiative_cell.rb
decidim-initiatives-0.23.2 app/cells/decidim/initiatives/initiative_cell.rb
decidim-initiatives-0.23.1 app/cells/decidim/initiatives/initiative_cell.rb
decidim-initiatives-0.23.1.rc1 app/cells/decidim/initiatives/initiative_cell.rb
decidim-initiatives-0.23.0 app/cells/decidim/initiatives/initiative_cell.rb
decidim-initiatives-0.22.0 app/cells/decidim/initiatives/initiative_cell.rb
decidim-initiatives-0.21.0 app/cells/decidim/initiatives/initiative_cell.rb
decidim-initiatives-0.20.1 app/cells/decidim/initiatives/initiative_cell.rb
decidim-initiatives-0.20.0 app/cells/decidim/initiatives/initiative_cell.rb
decidim-initiatives-0.19.1 app/cells/decidim/initiatives/initiative_cell.rb
decidim-initiatives-0.18.1 app/cells/decidim/initiatives/initiative_cell.rb
decidim-initiatives-0.19.0 app/cells/decidim/initiatives/initiative_cell.rb
decidim-initiatives-0.17.2 app/cells/decidim/initiatives/initiative_cell.rb
decidim-initiatives-0.18.0 app/cells/decidim/initiatives/initiative_cell.rb
decidim-initiatives-0.17.1 app/cells/decidim/initiatives/initiative_cell.rb
decidim-initiatives-0.16.1 app/cells/decidim/initiatives/initiative_cell.rb
decidim-initiatives-0.17.0 app/cells/decidim/initiatives/initiative_cell.rb
decidim-initiatives-0.16.0 app/cells/decidim/initiatives/initiative_cell.rb
decidim-initiatives-0.15.2 app/cells/decidim/initiatives/initiative_cell.rb
decidim-initiatives-0.15.1 app/cells/decidim/initiatives/initiative_cell.rb