Sha256: abc27f319362a1b674510266031242133ec4730a2a7d029e571fd076b998d07b

Contents?: true

Size: 434 Bytes

Versions: 65

Compression:

Stored size: 434 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Budgets
    # This cell renders the budget project card for an instance of a project
    # the default size is the Medium Card (:m)
    class ProjectCell < Decidim::ViewModel
      include Cell::ViewModel::Partial

      def show
        cell card_size, model, options
      end

      private

      def card_size
        "decidim/budgets/project_m"
      end
    end
  end
end

Version data entries

65 entries across 65 versions & 1 rubygems

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