Sha256: 5715e09c4782554113ab649e928b281ed0b251d52748c0bfcd514d1f9cb5ccf7
Contents?: true
Size: 635 Bytes
Versions: 16
Compression:
Stored size: 635 Bytes
Contents
# frozen_string_literal: true module Decidim module Plans class CoauthorshipsCell < Decidim::CoauthorshipsCell def show if authorable? cell "decidim/plans/author", presenter_for_author(model), extra_classes.merge(has_actions: has_actions?, from: model) else cell( "decidim/plans/collapsible_authors", presenters_for_identities(model), cell_name: "decidim/plans/author", cell_options: extra_classes, size: size, from: model, has_actions: has_actions? ) end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems