Sha256: dbf6639145cf6c476aa703b37b419a7abd72c0110c56befd7573702ac2e2b42d

Contents?: true

Size: 673 Bytes

Versions: 9

Compression:

Stored size: 673 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 audit reviewers'

  = 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

9 entries across 9 versions & 1 rubygems

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