Sha256: 387dd9866ffa7238f7f826d8d099b22feff4167e2b808e84a3d7a3244be7d266

Contents?: true

Size: 680 Bytes

Versions: 28

Compression:

Stored size: 680 Bytes

Contents

= effective_form_with(model: [:admin, cpd_audit_level], engine: true) do |f|
  = f.fields_for :cpd_audit_level_sections, cpd_audit_level_section do |fas|
    - if defined?(EffectiveArticleEditor)
      = fas.article_editor :top_content
      = fas.article_editor :bottom_content
    - else
      = fas.rich_text_area :top_content
      = fas.rich_text_area :bottom_content

    = fas.check_box :skip_review, label: "Do not display this section to #{cpd_reviewers_label}"

  = f.submit

%h2 Questions
- datatable = Admin::EffectiveCpdAuditLevelQuestionsDatatable.new(cpd_audit_level_section_id: cpd_audit_level_section.id)
= render_datatable(datatable, inline: true, simple: true)

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
effective_cpd-1.7.2 app/views/admin/cpd_audit_levels/_form_cpd_audit_level_section.html.haml
effective_cpd-1.7.1 app/views/admin/cpd_audit_levels/_form_cpd_audit_level_section.html.haml
effective_cpd-1.7.0 app/views/admin/cpd_audit_levels/_form_cpd_audit_level_section.html.haml
effective_cpd-1.6.5 app/views/admin/cpd_audit_levels/_form_cpd_audit_level_section.html.haml
effective_cpd-1.6.4 app/views/admin/cpd_audit_levels/_form_cpd_audit_level_section.html.haml
effective_cpd-1.6.3 app/views/admin/cpd_audit_levels/_form_cpd_audit_level_section.html.haml
effective_cpd-1.6.2 app/views/admin/cpd_audit_levels/_form_cpd_audit_level_section.html.haml
effective_cpd-1.6.1 app/views/admin/cpd_audit_levels/_form_cpd_audit_level_section.html.haml
effective_cpd-1.6.0 app/views/admin/cpd_audit_levels/_form_cpd_audit_level_section.html.haml
effective_cpd-1.5.1 app/views/admin/cpd_audit_levels/_form_cpd_audit_level_section.html.haml
effective_cpd-1.5.0 app/views/admin/cpd_audit_levels/_form_cpd_audit_level_section.html.haml
effective_cpd-1.4.8 app/views/admin/cpd_audit_levels/_form_cpd_audit_level_section.html.haml
effective_cpd-1.4.7 app/views/admin/cpd_audit_levels/_form_cpd_audit_level_section.html.haml
effective_cpd-1.4.6 app/views/admin/cpd_audit_levels/_form_cpd_audit_level_section.html.haml
effective_cpd-1.4.5 app/views/admin/cpd_audit_levels/_form_cpd_audit_level_section.html.haml
effective_cpd-1.4.4 app/views/admin/cpd_audit_levels/_form_cpd_audit_level_section.html.haml
effective_cpd-1.4.3 app/views/admin/cpd_audit_levels/_form_cpd_audit_level_section.html.haml
effective_cpd-1.4.2 app/views/admin/cpd_audit_levels/_form_cpd_audit_level_section.html.haml
effective_cpd-1.4.1 app/views/admin/cpd_audit_levels/_form_cpd_audit_level_section.html.haml
effective_cpd-1.4.0 app/views/admin/cpd_audit_levels/_form_cpd_audit_level_section.html.haml