Sha256: 429d417e0e3aaec32de5ee43ed302956a9742317ce3a5c3ab2a3d3ddcb0e9776
Contents?: true
Size: 471 Bytes
Versions: 6
Compression:
Stored size: 471 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 permitted_models.include?(model_name) end alias show_public_participation? show_represent_user_group? def permitted_models %(meeting) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems