Sha256: 234fe915cb4cb2d03f73416e33f2cd6a34eb2abca4541d8e53dc722c6da4f3cb
Contents?: true
Size: 1 KB
Versions: 10
Compression:
Stored size: 1 KB
Contents
%p Each of the following content areas will be displayed on the course purchase wizard. = effective_form_with(model: [:admin, learndash_course], engine: true) do |f| = card("All Steps") do - if defined?(EffectiveArticleEditor) = f.article_editor "rich_text_all_steps_content", label: false, hint: "displayed on all steps" - else = f.rich_text_area "rich_text_all_steps_content", label: false, hint: "displayed on all steps" %hr - enabled = EffectiveLearndash.CourseRegistration.all_wizard_steps - EffectiveLearndash.CourseRegistration::WIZARD_STEPS.each do |step, title| - next unless enabled.include?(step) = card("#{title}") do - if defined?(EffectiveArticleEditor) = f.article_editor "rich_text_#{step}_content", label: false, hint: "displayed on the course purchase wizard #{step} wizard step only" - else = f.rich_text_area "rich_text_#{step}_content", label: false, hint: "displayed on the course purchase wizard #{step} wizard step only" = f.submit
Version data entries
10 entries across 10 versions & 1 rubygems