Sha256: 2a2a5480aec0f73422f48c38fdebe63b77847cd5cfa66af8ddcf0b382b041134
Contents?: true
Size: 489 Bytes
Versions: 12
Compression:
Stored size: 489 Bytes
Contents
# frozen_string_literal: true module Decidim module Forms module Admin # Custom helpers, scoped to the forms engine. # module ApplicationHelper def tabs_id_for_question(question) "questionnaire_question_#{question.to_param}" end def tabs_id_for_question_answer_option(question, answer_option) "questionnaire_question_#{question.to_param}_answer_option_#{answer_option.to_param}" end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems