Sha256: 852cc0fef09c812a2c63c1733c9f731a647c9edd34d2f3f38c90b4744dae288b
Contents?: true
Size: 416 Bytes
Versions: 74
Compression:
Stored size: 416 Bytes
Contents
# frozen_string_literal: true module Decidim # Helpers related to icons module CardHelper # Public: Returns a card given an instance of a Component. # # model - The component instance to generate the card for. # options - a Hash with options, for the size of the card # # Returns an HTML. def card_for(model, options = {}) cell "decidim/card", model, options end end end
Version data entries
74 entries across 74 versions & 1 rubygems