Sha256: 5bfa625d09d1f1bd528bbcf3106f118badff5075f28fe54dd301518773821c37
Contents?: true
Size: 1 KB
Versions: 46
Compression:
Stored size: 1 KB
Contents
= effective_form_with(model: [:admin, cpd_audit], engine: true) do |f| %h2 Audit = f.select :cpd_audit_level_id, Effective::CpdAuditLevel.all.sorted, label: 'Audit level' = f.date_field :notification_date, label: 'Date of notification', required: false, hint: "the starting date for any deadline calculations. leave blank for today's date" %h2 Auditee = card('Auditee') do %p.text-muted The auditee is the person being audited = render('admin/cpd_audits/auditee_fields', form: f, f: f) %p Send email = email_form_fields(f, :cpd_audit_opened) %h2 Audit Reviewers %p.text-muted An audit review will be created for each selected auditor. = f.has_many :cpd_audit_reviews, class: 'tight' do |fr| = card('Audit Reviewer') do %p.text-muted The audit reviewer is the person reviewing an audit = render('admin/cpd_audits/audit_reviewer_fields', form: fr, f: fr) %p Send email = email_form_fields(fr, :cpd_audit_review_opened) = f.submit 'Open Audit', center: true
Version data entries
46 entries across 46 versions & 1 rubygems