Sha256: c19bafec79a35edf190e71b39c5dbdcb8e2166248d5fc588a1e2d9b21abc8bcb
Contents?: true
Size: 469 Bytes
Versions: 38
Compression:
Stored size: 469 Bytes
Contents
# frozen_string_literal: true module Decidim module Forms # Custom helpers, scoped to the forms engine. module ApplicationHelper # Show cell for selected models def show_represent_user_group? model_name = questionnaire_for.model_name.element permited_models.include?(model_name) end alias show_public_participation? show_represent_user_group? def permited_models %(meeting) end end end end
Version data entries
38 entries across 38 versions & 1 rubygems