effective_memberships 0.4.11 → 0.4.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/effective/applicant_endorsements/complete.html.haml +2 -3
- data/app/views/effective/applicant_endorsements/edit.html.haml +6 -7
- data/app/views/effective/applicant_references/complete.html.haml +2 -3
- data/app/views/effective/applicant_references/edit.html.haml +6 -7
- data/app/views/effective/applicants/_applicant.html.haml +2 -1
- data/app/views/effective/applicants/_course_amounts.html.haml +9 -17
- data/app/views/effective/applicants/_declarations.html.haml +9 -16
- data/app/views/effective/applicants/_demographics.html.haml +2 -9
- data/app/views/effective/applicants/_education.html.haml +6 -13
- data/app/views/effective/applicants/_endorsements.html.haml +6 -13
- data/app/views/effective/applicants/_equivalences.html.haml +3 -10
- data/app/views/effective/applicants/_experience.html.haml +18 -25
- data/app/views/effective/applicants/_files.html.haml +16 -23
- data/app/views/effective/applicants/_organization.html.haml +2 -9
- data/app/views/effective/applicants/_references.html.haml +6 -13
- data/app/views/effective/applicants/_stamp.html.haml +23 -30
- data/app/views/effective/applicants/_summary.html.haml +5 -0
- data/app/views/effective/applicants/billing.html.haml +6 -7
- data/app/views/effective/applicants/checkout.html.haml +2 -3
- data/app/views/effective/applicants/course_amounts.html.haml +48 -49
- data/app/views/effective/applicants/declarations.html.haml +9 -10
- data/app/views/effective/applicants/demographics.html.haml +6 -7
- data/app/views/effective/applicants/education.html.haml +16 -17
- data/app/views/effective/applicants/endorsements.html.haml +20 -21
- data/app/views/effective/applicants/equivalences.html.haml +14 -15
- data/app/views/effective/applicants/experience.html.haml +35 -36
- data/app/views/effective/applicants/files.html.haml +8 -9
- data/app/views/effective/applicants/organization.html.haml +10 -11
- data/app/views/effective/applicants/references.html.haml +16 -17
- data/app/views/effective/applicants/select.html.haml +25 -26
- data/app/views/effective/applicants/stamp.html.haml +16 -17
- data/app/views/effective/applicants/start.html.haml +4 -5
- data/app/views/effective/applicants/submitted.html.haml +9 -10
- data/app/views/effective/fee_payments/_declarations.html.haml +9 -16
- data/app/views/effective/fee_payments/_demographics.html.haml +2 -9
- data/app/views/effective/fee_payments/_fee_payment.html.haml +2 -1
- data/app/views/effective/fee_payments/_organization.html.haml +2 -9
- data/app/views/effective/fee_payments/billing.html.haml +6 -7
- data/app/views/effective/fee_payments/checkout.html.haml +2 -3
- data/app/views/effective/fee_payments/declarations.html.haml +8 -9
- data/app/views/effective/fee_payments/demographics.html.haml +6 -7
- data/app/views/effective/fee_payments/organization.html.haml +10 -11
- data/app/views/effective/fee_payments/start.html.haml +23 -24
- data/app/views/effective/fee_payments/submitted.html.haml +2 -2
- data/lib/effective_memberships/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e598cee90bcbc1349b12ff9d56babaf0686ddcc91f6ed162c8a8edc6c4b5c67
|
4
|
+
data.tar.gz: 8ace8c8625d529b305e832b9f24c5377be98e3da711a7d146fdf67d613bf7a93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2dadd826408201278a2cfcd8638399c140c755ceda775accdb015b8613e7f036d68dbd0776e39d77ff76bc41d0bec765972c33c1f859dc3dfcfc5ce3f57d965f
|
7
|
+
data.tar.gz: 7d915acf40e2b27b05773674e536d70c45555ea217f3f7abaa34c330ee51c00d75c914681c91f8ec43d39d33c0fe2127a6614f1f5afc7fb8664b8af937b054cd
|
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
.
|
3
|
-
%p Thank you! The confidential endorsement has been completed.
|
1
|
+
= card do
|
2
|
+
%p Thank you! The confidential endorsement has been completed.
|
@@ -1,8 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
=
|
6
|
-
%strong= @applicant_endorsement.applicant.owner
|
1
|
+
= card do
|
2
|
+
%p
|
3
|
+
Please provide a endorsement for the applicant
|
4
|
+
= succeed('.') do
|
5
|
+
%strong= @applicant_endorsement.applicant.owner
|
7
6
|
|
8
|
-
|
7
|
+
= render('form_declaration', applicant_endorsement: @applicant_endorsement)
|
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
.
|
3
|
-
%p Thank you! The confidential reference has been completed.
|
1
|
+
= card do
|
2
|
+
%p Thank you! The confidential reference has been completed.
|
@@ -1,8 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
=
|
6
|
-
%strong= @applicant_reference.applicant.owner
|
1
|
+
= card do
|
2
|
+
%p
|
3
|
+
Please provide a reference for the applicant
|
4
|
+
= succeed('.') do
|
5
|
+
%strong= @applicant_reference.applicant.owner
|
7
6
|
|
8
|
-
|
7
|
+
= render('form_declaration', applicant_reference: @applicant_reference)
|
@@ -1,19 +1,11 @@
|
|
1
|
-
|
2
|
-
.
|
3
|
-
.
|
4
|
-
.col-sm
|
5
|
-
%h5.card-title= applicant.wizard_step_title(:course_amounts)
|
6
|
-
.col-sm-auto.text-right
|
7
|
-
= link_to('Edit', wizard_path(:course_amounts)) if edit_effective_wizard?
|
1
|
+
= wizard_card(applicant) do
|
2
|
+
- applicant.applicant_course_areas_collection.each do |area|
|
3
|
+
- datatable = EffectiveApplicantCoursesDatatable.new(applicant: applicant, applicant_course_area_id: area.id)
|
8
4
|
|
5
|
+
.mb-4
|
6
|
+
%h6= area
|
7
|
+
= render_simple_datatable(datatable)
|
8
|
+
%p #{area} courses: #{applicant.applicant_course_area_sum(applicant_course_area: area)}
|
9
9
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
.mb-4
|
14
|
-
%h6= area
|
15
|
-
= render_simple_datatable(datatable)
|
16
|
-
%p #{area} courses: #{applicant.applicant_course_area_sum(applicant_course_area: area)}
|
17
|
-
|
18
|
-
%p
|
19
|
-
%strong All courses: #{pluralize(applicant.applicant_courses_sum, 'total course')}
|
10
|
+
%p
|
11
|
+
%strong All courses: #{pluralize(applicant.applicant_courses_sum, 'total course')}
|
@@ -1,16 +1,9 @@
|
|
1
|
-
|
2
|
-
.
|
3
|
-
|
4
|
-
|
5
|
-
%
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
%tbody
|
11
|
-
%tr
|
12
|
-
%td= icon('check')
|
13
|
-
%td Yes, I hereby certify that I have read and will adhere to the Code of Ethics
|
14
|
-
%tr
|
15
|
-
%td= icon('check')
|
16
|
-
%td Yes, I hereby certify that the statements and information contained herein are correct
|
1
|
+
= wizard_card(applicant) do
|
2
|
+
%table.table.table-sm
|
3
|
+
%tbody
|
4
|
+
%tr
|
5
|
+
%td= icon('check')
|
6
|
+
%td Yes, I hereby certify that I have read and will adhere to the Code of Ethics
|
7
|
+
%tr
|
8
|
+
%td= icon('check')
|
9
|
+
%td Yes, I hereby certify that the statements and information contained herein are correct
|
@@ -1,9 +1,2 @@
|
|
1
|
-
|
2
|
-
.
|
3
|
-
.row
|
4
|
-
.col-sm
|
5
|
-
%h5.card-title= applicant.wizard_step_title(:demographics)
|
6
|
-
.col-sm-auto.text-right
|
7
|
-
= link_to('Edit', wizard_path(:demographics)) if edit_effective_wizard?
|
8
|
-
|
9
|
-
= render 'users/demographics', parent: applicant, user: applicant.user
|
1
|
+
= wizard_card(applicant) do
|
2
|
+
= render 'users/demographics', parent: applicant, user: applicant.user
|
@@ -1,14 +1,7 @@
|
|
1
|
-
|
2
|
-
.
|
3
|
-
|
4
|
-
.col-sm
|
5
|
-
%h5.card-title= applicant.wizard_step_title(:education)
|
6
|
-
.col-sm-auto.text-right
|
7
|
-
= link_to('Edit', wizard_path(:education)) if edit_effective_wizard?
|
1
|
+
= wizard_card(applicant) do
|
2
|
+
- datatable = EffectiveApplicantEducationsDatatable.new(applicant: applicant)
|
3
|
+
.mb-4= render_simple_datatable(datatable)
|
8
4
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
- if applicant.applicant_educations_details.present?
|
13
|
-
%h6 Additional Education Details
|
14
|
-
= simple_format(applicant.applicant_educations_details)
|
5
|
+
- if applicant.applicant_educations_details.present?
|
6
|
+
%h6 Additional Education Details
|
7
|
+
= simple_format(applicant.applicant_educations_details)
|
@@ -1,15 +1,8 @@
|
|
1
|
-
|
2
|
-
.
|
3
|
-
|
4
|
-
.
|
5
|
-
%h5.card-title= applicant.wizard_step_title(:endorsements)
|
6
|
-
.col-sm-auto.text-right
|
7
|
-
= link_to('Edit', wizard_path(:endorsements)) if edit_effective_wizard?
|
1
|
+
= wizard_card(applicant) do
|
2
|
+
- applicant.applicant_endorsements.each_with_index do |applicant_endorsement, index|
|
3
|
+
- if index > 0
|
4
|
+
.mb-4
|
8
5
|
|
9
|
-
|
10
|
-
- if index > 0
|
11
|
-
.mb-4
|
6
|
+
%h6 Endorsement ##{index + 1}
|
12
7
|
|
13
|
-
|
14
|
-
|
15
|
-
= render('effective/applicant_endorsements/applicant_endorsement', applicant_endorsement: applicant_endorsement)
|
8
|
+
= render('effective/applicant_endorsements/applicant_endorsement', applicant_endorsement: applicant_endorsement)
|
@@ -1,10 +1,3 @@
|
|
1
|
-
|
2
|
-
.
|
3
|
-
|
4
|
-
.col-sm
|
5
|
-
%h5.card-title= applicant.wizard_step_title(:equivalences)
|
6
|
-
.col-sm-auto.text-right
|
7
|
-
= link_to('Edit', wizard_path(:equivalences)) if edit_effective_wizard?
|
8
|
-
|
9
|
-
- datatable = EffectiveApplicantEquivalencesDatatable.new(applicant: applicant)
|
10
|
-
.mb-4= render_simple_datatable(datatable)
|
1
|
+
= wizard_card(applicant) do
|
2
|
+
- datatable = EffectiveApplicantEquivalencesDatatable.new(applicant: applicant)
|
3
|
+
.mb-4= render_simple_datatable(datatable)
|
@@ -1,28 +1,21 @@
|
|
1
|
-
|
2
|
-
.
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
= wizard_card(applicant) do
|
2
|
+
%table.table
|
3
|
+
%tbody
|
4
|
+
-# %tr
|
5
|
+
-# %th CV / Resume Upload
|
6
|
+
-# %td
|
7
|
+
-# - if applicant.cv.attached?
|
8
|
+
-# = link_to(applicant.cv.filename, url_for(applicant.cv), target: '_blank')
|
9
|
+
-# - else
|
10
|
+
-# None
|
8
11
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
-# %th CV / Resume Upload
|
13
|
-
-# %td
|
14
|
-
-# - if applicant.cv.attached?
|
15
|
-
-# = link_to(applicant.cv.filename, url_for(applicant.cv), target: '_blank')
|
16
|
-
-# - else
|
17
|
-
-# None
|
12
|
+
%tr
|
13
|
+
%th Total Months
|
14
|
+
%td= applicant.applicant_experiences_months
|
18
15
|
|
19
|
-
|
20
|
-
|
21
|
-
%td= applicant.applicant_experiences_months
|
16
|
+
- datatable = EffectiveApplicantExperiencesDatatable.new(applicant: applicant)
|
17
|
+
.mb-4= render_simple_datatable(datatable)
|
22
18
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
- if applicant.applicant_experiences_details.present?
|
27
|
-
%h6 Additional Experiences Details
|
28
|
-
= simple_format(applicant.applicant_experiences_details)
|
19
|
+
- if applicant.applicant_experiences_details.present?
|
20
|
+
%h6 Additional Experiences Details
|
21
|
+
= simple_format(applicant.applicant_experiences_details)
|
@@ -1,27 +1,20 @@
|
|
1
|
-
|
2
|
-
.
|
3
|
-
|
4
|
-
.
|
5
|
-
%h5.card-title= applicant.wizard_step_title(:files)
|
6
|
-
.col-sm-auto.text-right
|
7
|
-
= link_to('Edit', wizard_path(:files)) if edit_effective_wizard?
|
1
|
+
= wizard_card(applicant) do
|
2
|
+
%table.table.table-sm
|
3
|
+
%tbody
|
4
|
+
- applicant.applicant_files.each do |file|
|
8
5
|
|
9
|
-
|
10
|
-
|
11
|
-
- applicant.applicant_files.each do |file|
|
6
|
+
- url = url_for(file)
|
7
|
+
- title = file.filename.to_s
|
12
8
|
|
13
|
-
|
14
|
-
|
9
|
+
- image_tag = content_tag(:img, '', class: '', src: url, alt: title) if file.image?
|
10
|
+
- link_tag = link_to('Download', url, target: '_blank')
|
11
|
+
- size_tag = (file.content_type + '<br>' + number_to_human_size(file.byte_size)).html_safe
|
15
12
|
|
16
|
-
|
17
|
-
|
18
|
-
|
13
|
+
%tr
|
14
|
+
%td= image_tag
|
15
|
+
%td= title
|
16
|
+
%td= size_tag
|
17
|
+
%td= link_tag
|
19
18
|
|
20
|
-
|
21
|
-
|
22
|
-
%td= title
|
23
|
-
%td= size_tag
|
24
|
-
%td= link_tag
|
25
|
-
|
26
|
-
- if applicant.applicant_files.blank?
|
27
|
-
%p No files attached
|
19
|
+
- if applicant.applicant_files.blank?
|
20
|
+
%p No files attached
|
@@ -1,9 +1,2 @@
|
|
1
|
-
|
2
|
-
.
|
3
|
-
.row
|
4
|
-
.col-sm
|
5
|
-
%h5.card-title= applicant.wizard_step_title(:organization)
|
6
|
-
.col-sm-auto.text-right
|
7
|
-
= link_to('Edit', wizard_path(:organization)) if edit_effective_wizard?
|
8
|
-
|
9
|
-
= render 'organizations/demographics', parent: applicant, organization: applicant.organization
|
1
|
+
= wizard_card(applicant) do
|
2
|
+
= render 'organizations/demographics', parent: applicant, organization: applicant.organization
|
@@ -1,15 +1,8 @@
|
|
1
|
-
|
2
|
-
.
|
3
|
-
|
4
|
-
.
|
5
|
-
%h5.card-title= applicant.wizard_step_title(:references)
|
6
|
-
.col-sm-auto.text-right
|
7
|
-
= link_to('Edit', wizard_path(:references)) if edit_effective_wizard?
|
1
|
+
= wizard_card(applicant) do
|
2
|
+
- applicant.applicant_references.each_with_index do |applicant_reference, index|
|
3
|
+
- if index > 0
|
4
|
+
.mb-4
|
8
5
|
|
9
|
-
|
10
|
-
- if index > 0
|
11
|
-
.mb-4
|
6
|
+
%h6 Reference ##{index + 1}
|
12
7
|
|
13
|
-
|
14
|
-
|
15
|
-
= render('effective/applicant_references/applicant_reference', applicant_reference: applicant_reference)
|
8
|
+
= render('effective/applicant_references/applicant_reference', applicant_reference: applicant_reference)
|
@@ -1,36 +1,29 @@
|
|
1
|
-
|
2
|
-
.
|
3
|
-
.
|
4
|
-
|
5
|
-
%
|
6
|
-
|
7
|
-
|
1
|
+
= wizard_card(applicant) do
|
2
|
+
- applicant.stamps.each do |stamp|
|
3
|
+
%table.table.table-sm
|
4
|
+
%tbody
|
5
|
+
%tr
|
6
|
+
%th Name
|
7
|
+
%td= stamp.name
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
%tr
|
13
|
-
%th Name
|
14
|
-
%td= stamp.name
|
9
|
+
%tr
|
10
|
+
%th Name Confirmation
|
11
|
+
%td= stamp.name_confirmation
|
15
12
|
|
16
|
-
|
17
|
-
|
18
|
-
|
13
|
+
%tr
|
14
|
+
%th Category
|
15
|
+
%td= stamp.category
|
19
16
|
|
17
|
+
- if stamp.shipping_address.present?
|
20
18
|
%tr
|
21
|
-
%th
|
22
|
-
%td= stamp.
|
23
|
-
|
24
|
-
- if stamp.shipping_address.present?
|
25
|
-
%tr
|
26
|
-
%th Shipping Address
|
27
|
-
%td= stamp.shipping_address.to_html
|
19
|
+
%th Shipping Address
|
20
|
+
%td= stamp.shipping_address.to_html
|
28
21
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
22
|
+
- if applicant.was_approved?
|
23
|
+
%tr
|
24
|
+
%th Submitted
|
25
|
+
%td= stamp.submitted_at&.strftime('%F') || '-'
|
33
26
|
|
34
|
-
|
35
|
-
|
36
|
-
|
27
|
+
%tr
|
28
|
+
%th Issued
|
29
|
+
%td= stamp.issued_at&.strftime('%F') || 'Not Issued'
|
@@ -31,6 +31,11 @@
|
|
31
31
|
%th Category
|
32
32
|
%td= [applicant.applicant_type, applicant.category].join(' - ')
|
33
33
|
|
34
|
+
- if applicant.try(:stream).present?
|
35
|
+
%tr
|
36
|
+
%th Stream
|
37
|
+
%td= applicant.stream
|
38
|
+
|
34
39
|
- if applicant.orders.present?
|
35
40
|
%tr
|
36
41
|
%th Order#{'s' if applicant.orders.length > 1}
|
@@ -3,12 +3,11 @@
|
|
3
3
|
|
4
4
|
- raise('expected owner to respond to billing_address') unless resource.owner.respond_to?(:billing_address)
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
=
|
9
|
-
= f.hidden_field :id
|
6
|
+
= card do
|
7
|
+
= effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
|
8
|
+
= f.hidden_field :id
|
10
9
|
|
11
|
-
|
12
|
-
|
10
|
+
= f.fields_for(f.object.owner_symbol, f.object.owner) do |fo|
|
11
|
+
= effective_address_fields(fo, :billing)
|
13
12
|
|
14
|
-
|
13
|
+
= f.save 'Save and Continue'
|
@@ -1,6 +1,5 @@
|
|
1
1
|
= render 'layout' do
|
2
2
|
= render 'effective/applicants/content', resource: resource
|
3
3
|
|
4
|
-
|
5
|
-
.
|
6
|
-
= render_checkout_step2(resource.submit_order, purchased_url: wizard_path(:submitted), deferred_url: wizard_path(:checkout), declined_url: wizard_path(:checkout))
|
4
|
+
= card do
|
5
|
+
= render_checkout_step2(resource.submit_order, purchased_url: wizard_path(:submitted), deferred_url: wizard_path(:checkout), declined_url: wizard_path(:checkout))
|
@@ -1,52 +1,51 @@
|
|
1
1
|
= render 'layout' do
|
2
2
|
= render 'effective/applicants/content', resource: resource
|
3
3
|
|
4
|
-
|
5
|
-
.
|
6
|
-
-
|
7
|
-
|
8
|
-
|
9
|
-
=
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
%
|
24
|
-
|
25
|
-
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
%
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
%
|
36
|
-
%
|
37
|
-
|
38
|
-
%
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
.
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
.
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
= f.save 'Save and Continue'
|
4
|
+
= card do
|
5
|
+
- if resource.min_applicant_courses > 0
|
6
|
+
.alert.alert-danger You must include #{resource.min_applicant_courses} or more courses.
|
7
|
+
|
8
|
+
= effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
|
9
|
+
= f.hidden_field :id
|
10
|
+
|
11
|
+
.applicant-courses-sum
|
12
|
+
Total Courses:
|
13
|
+
%span{'data-applicant-courses-sum': true}= f.object.applicant_courses_sum
|
14
|
+
|
15
|
+
- f.object.applicant_course_areas_collection.each do |area|
|
16
|
+
.applicant-course-area.my-4
|
17
|
+
%h2= area
|
18
|
+
|
19
|
+
- if area.body.present?
|
20
|
+
%p= area.body
|
21
|
+
|
22
|
+
%table.table.table-sm.table-borderless.table-courses
|
23
|
+
%tbody
|
24
|
+
- area.applicant_course_names.each do |applicant_course_name|
|
25
|
+
- applicant_course = f.object.applicant_course(applicant_course_name: applicant_course_name)
|
26
|
+
|
27
|
+
= f.fields_for(:applicant_courses, applicant_course) do |acf|
|
28
|
+
%tr
|
29
|
+
%th.table-courses-course-name= applicant_course_name
|
30
|
+
%td
|
31
|
+
= acf.number_field :amount, label: false, required: false, 'data-applicant-courses-amount': true, class: 'col-3'
|
32
|
+
= acf.hidden_field :applicant_course_name_id, value: applicant_course_name.id
|
33
|
+
|
34
|
+
%tfoot
|
35
|
+
%tr
|
36
|
+
%th.table-courses-course-name Total #{area}
|
37
|
+
%td
|
38
|
+
%span{'data-applicant-course-area-sum': true}= f.object.applicant_course_area_sum(applicant_course_area: area)
|
39
|
+
|
40
|
+
.applicant-courses-sum.my-2
|
41
|
+
%h2 Total
|
42
|
+
.row
|
43
|
+
.col
|
44
|
+
%p Total Courses:
|
45
|
+
%span{'data-applicant-courses-sum': true}= f.object.applicant_courses_sum
|
46
|
+
.col
|
47
|
+
= f.static_field :min_applicant_courses, label: 'Required Courses'
|
48
|
+
|
49
|
+
= render_if_exists("effective/applicants/course_amounts_fields", f: f)
|
50
|
+
|
51
|
+
= f.save 'Save and Continue'
|
@@ -5,17 +5,16 @@
|
|
5
5
|
- resource.declare_code_of_ethics = completed
|
6
6
|
- resource.declare_truth = completed
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
=
|
11
|
-
= f.hidden_field :id
|
8
|
+
= card do
|
9
|
+
= effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
|
10
|
+
= f.hidden_field :id
|
12
11
|
|
13
|
-
|
14
|
-
|
12
|
+
= f.check_box :declare_code_of_ethics,
|
13
|
+
label: 'Yes, I hereby certify that I have read and will adhere to the Code of Ethics'
|
15
14
|
|
16
|
-
|
17
|
-
|
15
|
+
= f.check_box :declare_truth,
|
16
|
+
label: 'Yes, I hereby certify that the statements and information contained herein are correct'
|
18
17
|
|
19
|
-
|
18
|
+
= render_if_exists("effective/applicants/declarations_fields", f: f)
|
20
19
|
|
21
|
-
|
20
|
+
= f.save 'Save and Continue'
|
@@ -1,12 +1,11 @@
|
|
1
1
|
= render 'layout' do
|
2
2
|
= render 'effective/applicants/content', resource: resource
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
=
|
7
|
-
= f.hidden_field :id
|
4
|
+
= card do
|
5
|
+
= effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
|
6
|
+
= f.hidden_field :id
|
8
7
|
|
9
|
-
|
10
|
-
|
8
|
+
= f.fields_for(:user, f.object.user) do |fu|
|
9
|
+
= render 'users/fields_demographics', f: fu, user: f.object.user, parent: resource
|
11
10
|
|
12
|
-
|
11
|
+
= f.save 'Save and Continue'
|
@@ -1,27 +1,26 @@
|
|
1
1
|
= render 'layout' do
|
2
2
|
= render 'effective/applicants/content', resource: resource
|
3
3
|
|
4
|
-
|
5
|
-
.
|
6
|
-
-
|
7
|
-
.alert.alert-danger You must include #{resource.min_applicant_educations} or more post-secondary educations.
|
4
|
+
= card do
|
5
|
+
- if resource.min_applicant_educations > 0
|
6
|
+
.alert.alert-danger You must include #{resource.min_applicant_educations} or more post-secondary educations.
|
8
7
|
|
9
|
-
|
10
|
-
|
8
|
+
= effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
|
9
|
+
= f.hidden_field :id
|
11
10
|
|
12
|
-
|
13
|
-
|
11
|
+
= f.has_many(:applicant_educations, cards: true) do |aef|
|
12
|
+
%h4.mb-4 Post-Secondary Education
|
14
13
|
|
15
|
-
|
16
|
-
.col= aef.text_field :institution
|
17
|
-
.col= aef.text_field :location
|
14
|
+
= aef.text_field :degree_obtained, label: 'Degree, diploma or program'
|
18
15
|
|
19
|
-
|
20
|
-
|
21
|
-
|
16
|
+
.row
|
17
|
+
.col= aef.text_field :institution
|
18
|
+
.col= aef.text_field :location
|
22
19
|
|
23
|
-
|
20
|
+
.row
|
21
|
+
.col= aef.date_field :start_on, label: 'Start Date'
|
22
|
+
.col= aef.date_field :end_on, label: 'End Date'
|
24
23
|
|
25
|
-
|
24
|
+
= render_if_exists("effective/applicants/education_fields", f: f)
|
26
25
|
|
27
|
-
|
26
|
+
= f.save 'Save and Continue'
|