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

Version Path
effective_cpd-1.2.4 app/views/admin/cpd_audit_levels/_form_content_audit.html.haml
effective_cpd-1.2.3 app/views/admin/cpd_audit_levels/_form_content_audit.html.haml
effective_cpd-1.2.2 app/views/admin/cpd_audit_levels/_form_content_audit.html.haml
effective_cpd-1.2.1 app/views/admin/cpd_audit_levels/_form_content_audit.html.haml
effective_cpd-1.2.0 app/views/admin/cpd_audit_levels/_form_content_audit.html.haml
effective_cpd-1.1.3 app/views/admin/cpd_audit_levels/_form_content_audit.html.haml
effective_cpd-1.1.2 app/views/admin/cpd_audit_levels/_form_content_audit.html.haml
effective_cpd-1.1.1 app/views/admin/cpd_audit_levels/_form_content_audit.html.haml
effective_cpd-1.1.0 app/views/admin/cpd_audit_levels/_form_content_audit.html.haml