Sha256: 8a8c258e28a8f03a7e625aad524c75cc4cdcac75fe772c8c7296398559f7a8a0
Contents?: true
Size: 915 Bytes
Versions: 9
Compression:
Stored size: 915 Bytes
Contents
%p Each of the following content areas will be displayed on the auditee wizard. = effective_form_with(model: [:admin, cpd_audit_level], engine: true) do |f| = card("All Steps Content") do - if defined?(EffectiveArticleEditor) = f.article_editor "rich_text_all_steps_audit_content", label: false, hint: "displayed on all steps" - else = f.rich_text_area "rich_text_all_steps_audit_content", label: false, hint: "displayed on all steps" %hr - EffectiveCpd.CpdAudit::WIZARD_STEPS.each do |step, title| = card("#{title} Content") do - if defined?(EffectiveArticleEditor) = f.article_editor "rich_text_#{step}_audit_content", label: false, hint: "displayed on the auditee wizard #{step} wizard step only" - else = f.rich_text_area "rich_text_#{step}_audit_content", label: false, hint: "displayed on the auditee wizard #{step} wizard step only" = f.submit
Version data entries
9 entries across 9 versions & 1 rubygems