Sha256: 64ddc36c951b3e46050df1f078170655c734257a47e248f71a5eabb58d455cf5

Contents?: true

Size: 742 Bytes

Versions: 21

Compression:

Stored size: 742 Bytes

Contents

= render('layout') do
  - if resource.was_exemption_requested?
    = render('effective/cpd_audits/exemption', cpd_audit: resource, step: :exemption)

  %p The deadline to request an exemption is: #{resource.deadline_to_exemption.strftime('%F')}.

  = effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
    = f.hidden_field :current_step

    = f.radios :exemption_request, cpd_audit_exemption_request_collection,
      inline: true, required: true

    = f.show_if :exemption_request, true do
      = f.text_area :exemption_request_reason, required: true

    = f.show_if :exemption_request, false do
      = f.hidden_field :exemption_request_reason, value: ''

    = f.submit 'Save and Continue', center: true

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
effective_cpd-0.2.0 app/views/effective/cpd_audits/exemption.html.haml
effective_cpd-0.1.19 app/views/effective/cpd_audits/exemption.html.haml
effective_cpd-0.1.18 app/views/effective/cpd_audits/exemption.html.haml
effective_cpd-0.1.17 app/views/effective/cpd_audits/exemption.html.haml
effective_cpd-0.1.16 app/views/effective/cpd_audits/exemption.html.haml
effective_cpd-0.1.15 app/views/effective/cpd_audits/exemption.html.haml
effective_cpd-0.1.14 app/views/effective/cpd_audits/exemption.html.haml
effective_cpd-0.1.13 app/views/effective/cpd_audits/exemption.html.haml
effective_cpd-0.1.12 app/views/effective/cpd_audits/exemption.html.haml
effective_cpd-0.1.11 app/views/effective/cpd_audits/exemption.html.haml
effective_cpd-0.1.10 app/views/effective/cpd_audits/exemption.html.haml
effective_cpd-0.1.9 app/views/effective/cpd_audits/exemption.html.haml
effective_cpd-0.1.8 app/views/effective/cpd_audits/exemption.html.haml
effective_cpd-0.1.7 app/views/effective/cpd_audits/exemption.html.haml
effective_cpd-0.1.6 app/views/effective/cpd_audits/exemption.html.haml
effective_cpd-0.1.5 app/views/effective/cpd_audits/exemption.html.haml
effective_cpd-0.1.4 app/views/effective/cpd_audits/exemption.html.haml
effective_cpd-0.1.3 app/views/effective/cpd_audits/exemption.html.haml
effective_cpd-0.1.2 app/views/effective/cpd_audits/exemption.html.haml
effective_cpd-0.1.1 app/views/effective/cpd_audits/exemption.html.haml