Sha256: 7732f70d4510133e94c397e4e53dad6e94602e53ef6fad230cd513354fba4ff5
Contents?: true
Size: 654 Bytes
Versions: 3
Compression:
Stored size: 654 Bytes
Contents
= effective_form_with(model: [:admin, cpd_audit_review], engine: true) do |f| - if inline_datatable? = f.hidden_field :cpd_audit_id = f.hidden_field :cpd_audit_type = f.static_field :cpd_audit, label: 'CPD Audit' - else = f.hidden_field :cpd_audit_type, value: EffectiveCpd.CpdAudit.class.name = f.select :cpd_audit_id, EffectiveCpd.CpdAudit.available.sorted.all = render('admin/cpd_audits/audit_reviewer_fields', f: f) %p Send email - if cpd_audit_review.cpd_audit&.was_completed? = email_form_fields(f, :cpd_audit_review_ready) - else = email_form_fields(f, :cpd_audit_review_opened) = effective_submit(f)
Version data entries
3 entries across 3 versions & 1 rubygems