Sha256: 0ce7c3581c3d302c819828098b86135cc99d0c9e4951d251635958ceb2480080
Contents?: true
Size: 1004 Bytes
Versions: 84
Compression:
Stored size: 1004 Bytes
Contents
%p Each of the following content areas will be displayed on the event registration wizard. = effective_form_with(model: [:admin, event], 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 = EffectiveEvents.EventRegistration.all_wizard_steps - EffectiveEvents.EventRegistration::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 event registration #{step} wizard step only" - else = f.rich_text_area "rich_text_#{step}_content", label: false, hint: "displayed on the event registration #{step} wizard step only" = f.submit
Version data entries
84 entries across 84 versions & 1 rubygems