effective_memberships 0.4.11 → 0.4.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
@@ -1,34 +1,33 @@
|
|
1
1
|
= render 'layout' do
|
2
2
|
= render 'effective/applicants/content', resource: resource
|
3
3
|
|
4
|
-
|
5
|
-
.
|
6
|
-
|
7
|
-
%p You must include #{resource.min_applicant_endorsements} or more endorsements.
|
4
|
+
= card do
|
5
|
+
- if resource.min_applicant_endorsements > 0
|
6
|
+
%p You must include #{resource.min_applicant_endorsements} or more endorsements.
|
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
|
-
|
11
|
+
- endorders_collection = Effective::ApplicantEndorsement.endorser_collection(resource)
|
13
12
|
|
14
|
-
|
15
|
-
|
13
|
+
= f.has_many(:applicant_endorsements, cards: true) do |aef|
|
14
|
+
- aef.object.endorser_type ||= endorders_collection.klass.name
|
16
15
|
|
17
|
-
|
16
|
+
%h4 Endorsement
|
18
17
|
|
19
|
-
|
20
|
-
|
18
|
+
= aef.hidden_field :endorser_id
|
19
|
+
= aef.hidden_field :endorser_type
|
21
20
|
|
22
|
-
|
23
|
-
|
21
|
+
= aef.select :endorser_id, endorders_collection, required: false,
|
22
|
+
ajax_url: effective_memberships.select2_ajax_endorser_applicant_endorsement_path(applicant_id: resource)
|
24
23
|
|
25
|
-
|
24
|
+
= aef.check_box :unknown_member, label: 'I cant find my endorser in the above list'
|
26
25
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
26
|
+
= aef.show_if(:unknown_member, true) do
|
27
|
+
= aef.text_field :name, label: 'Endorser name', required: true
|
28
|
+
= aef.email_field :endorser_email, label: 'Email', required: true
|
29
|
+
= aef.phone_field :phone, required: true
|
31
30
|
|
32
|
-
|
31
|
+
= render_if_exists("effective/applicants/endorsements_fields", f: f)
|
33
32
|
|
34
|
-
|
33
|
+
= f.save 'Save and Continue'
|
@@ -1,25 +1,24 @@
|
|
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_equivalences} or more equivalent memberships.
|
4
|
+
= card do
|
5
|
+
- if resource.min_applicant_equivalences > 0
|
6
|
+
.alert.alert-danger You must include #{resource.min_applicant_equivalences} or more equivalent memberships.
|
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_equivalences, cards: true) do |aef|
|
12
|
+
%h4.mb-4 Equivalent Membership
|
14
13
|
|
15
|
-
|
14
|
+
= aef.text_field :name
|
16
15
|
|
17
|
-
|
18
|
-
|
19
|
-
|
16
|
+
.row
|
17
|
+
.col= aef.date_field :start_on, label: 'Start Date'
|
18
|
+
.col= aef.date_field :end_on, label: 'End Date'
|
20
19
|
|
21
|
-
|
20
|
+
= aef.text_area :notes
|
22
21
|
|
23
|
-
|
22
|
+
= render_if_exists("effective/applicants/equivalences_fields", f: f)
|
24
23
|
|
25
|
-
|
24
|
+
= f.save 'Save and Continue'
|
@@ -1,51 +1,50 @@
|
|
1
1
|
= render 'layout' do
|
2
2
|
= render 'effective/applicants/content', resource: resource
|
3
3
|
|
4
|
-
|
5
|
-
.
|
6
|
-
|
7
|
-
%p You must include #{resource.min_applicant_experiences_months} or more months of experience.
|
4
|
+
= card do
|
5
|
+
- if resource.min_applicant_educations > 0
|
6
|
+
%p You must include #{resource.min_applicant_experiences_months} or more months of experience.
|
8
7
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
8
|
+
= effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
|
9
|
+
= f.hidden_field :id
|
10
|
+
= f.error :applicant_experiences
|
11
|
+
= f.error :applicant_experiences_months
|
13
12
|
|
14
|
-
|
15
|
-
|
13
|
+
= f.has_many(:applicant_experiences, cards: true) do |aef|
|
14
|
+
%h4.mb-4 Work Experience
|
16
15
|
|
17
|
-
|
18
|
-
|
19
|
-
|
16
|
+
.row
|
17
|
+
.col= aef.text_field :employer
|
18
|
+
.col= aef.text_field :position, label: 'Position Title'
|
20
19
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
20
|
+
.row
|
21
|
+
.col= aef.date_field :start_on, label: 'Start Date', 'data-applicant-experiences-month': true
|
22
|
+
.col
|
23
|
+
= aef.date_field :end_on, label: 'End Date', required: false, 'data-applicant-experiences-month': true
|
24
|
+
= aef.check_box :still_work_here, label: 'I still work here'
|
26
25
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
26
|
+
.row
|
27
|
+
.col
|
28
|
+
= aef.radios :level, aef.object.class.const_get(:LEVELS), inline: true,
|
29
|
+
label: 'Employment', 'data-applicant-experiences-month': true
|
31
30
|
|
32
|
-
|
33
|
-
|
34
|
-
|
31
|
+
= aef.show_if :level, 'Part Time' do
|
32
|
+
= aef.percent_field :percent_worked, label: 'Percent time worked',
|
33
|
+
hint: 'required when part time', 'data-applicant-experiences-month': true
|
35
34
|
|
36
|
-
|
35
|
+
.col= aef.static_field :months, label: 'Calculated Months', value: aef.object.months.to_i
|
37
36
|
|
38
|
-
|
37
|
+
= aef.text_area :tasks_performed, class: 'mb-0'
|
39
38
|
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
39
|
+
%h3 Total Months
|
40
|
+
.row
|
41
|
+
.col= f.static_field :applicant_experiences_months, label: 'Entered Months', value: f.object.applicant_experiences_months.to_i
|
42
|
+
.col
|
43
|
+
= f.static_field :min_applicant_experiences_months, label: 'Required Months' do
|
44
|
+
#{f.object.min_applicant_experiences_months} months, or #{f.object.min_applicant_experiences_months / 12} years
|
46
45
|
|
47
|
-
|
46
|
+
= f.error :applicant_experiences_months
|
48
47
|
|
49
|
-
|
48
|
+
= render_if_exists("effective/applicants/experience_fields", f: f)
|
50
49
|
|
51
|
-
|
50
|
+
= f.save 'Save and Continue'
|
@@ -1,16 +1,15 @@
|
|
1
1
|
= render 'layout' do
|
2
2
|
= render 'effective/applicants/content', resource: resource
|
3
3
|
|
4
|
-
|
5
|
-
.
|
6
|
-
|
7
|
-
%p You must include #{resource.min_applicant_files} or more files.
|
4
|
+
= card do
|
5
|
+
- if resource.min_applicant_files > 0
|
6
|
+
%p You must include #{resource.min_applicant_files} or more files.
|
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
|
-
|
11
|
+
= f.file_field :applicant_files, attachment_style: :table
|
13
12
|
|
14
|
-
|
13
|
+
= render_if_exists("effective/applicants/files_fields", f: f)
|
15
14
|
|
16
|
-
|
15
|
+
= f.save 'Save and Continue'
|
@@ -2,18 +2,17 @@
|
|
2
2
|
|
3
3
|
= render 'effective/applicants/content', resource: resource
|
4
4
|
|
5
|
-
|
6
|
-
.
|
7
|
-
- datatable = EffectiveResources.best('EffectiveRepresentativesDatatable').new(self, organization: resource.organization)
|
5
|
+
= card do
|
6
|
+
- datatable = EffectiveResources.best('EffectiveRepresentativesDatatable').new(self, organization: resource.organization)
|
8
7
|
|
9
|
-
|
10
|
-
|
8
|
+
%h2 Representatives
|
9
|
+
= render_datatable(datatable, inline: true, simple: true)
|
11
10
|
|
12
|
-
|
13
|
-
|
14
|
-
|
11
|
+
%h2 Organization Info
|
12
|
+
= effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
|
13
|
+
= f.hidden_field :id
|
15
14
|
|
16
|
-
|
17
|
-
|
15
|
+
= f.fields_for(:organization, f.object.organization) do |fo|
|
16
|
+
= render 'organizations/fields_demographics', f: fo, organization: f.object.organization, parent: resource
|
18
17
|
|
19
|
-
|
18
|
+
= f.save 'Save and Continue'
|
@@ -1,26 +1,25 @@
|
|
1
1
|
= render 'layout' do
|
2
2
|
= render 'effective/applicants/content', resource: resource
|
3
3
|
|
4
|
-
|
5
|
-
.
|
6
|
-
|
7
|
-
%p You must include #{resource.min_applicant_references} or more references.
|
4
|
+
= card do
|
5
|
+
- if resource.min_applicant_references > 0
|
6
|
+
%p You must include #{resource.min_applicant_references} or more references.
|
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_references, cards: true) do |arf|
|
12
|
+
%h4 Reference
|
14
13
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
14
|
+
= arf.text_field :name, label: 'Full Name'
|
15
|
+
.row
|
16
|
+
.col= arf.email_field :email
|
17
|
+
.col= arf.tel_field :phone
|
19
18
|
|
20
|
-
|
21
|
-
|
22
|
-
|
19
|
+
.row
|
20
|
+
.col= arf.select :relationship, Effective::ApplicantReference::RELATIONSHIPS
|
21
|
+
.col= arf.select :known, Effective::ApplicantReference::KNOWNS, label: 'Known for'
|
23
22
|
|
24
|
-
|
23
|
+
= render_if_exists("effective/applicants/references_fields", f: f)
|
25
24
|
|
26
|
-
|
25
|
+
= f.save 'Save and Continue'
|
@@ -4,39 +4,38 @@
|
|
4
4
|
- categories = resource.can_apply_categories_collection()
|
5
5
|
- organization_categories = categories.select(&:organization?)
|
6
6
|
|
7
|
-
|
8
|
-
.
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
Please contact us if you believe this is in error.
|
7
|
+
= card do
|
8
|
+
- if categories.blank?
|
9
|
+
%p
|
10
|
+
There are no categories available for you to apply for.
|
11
|
+
Please contact us if you believe this is in error.
|
13
12
|
|
14
|
-
|
15
|
-
|
13
|
+
- if categories.present?
|
14
|
+
%p Please select a category to continue.
|
16
15
|
|
17
|
-
|
18
|
-
|
16
|
+
= effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
|
17
|
+
= f.hidden_field :id
|
19
18
|
|
20
|
-
|
21
|
-
|
22
|
-
|
19
|
+
= f.hidden_field :organization_id, value: nil
|
20
|
+
= f.hidden_field :organization_type, value: nil
|
21
|
+
= f.hidden_field :category_type, value: EffectiveMemberships.Category.name
|
23
22
|
|
24
|
-
|
23
|
+
= f.select :category_id, categories, required: true
|
25
24
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
25
|
+
- categories.each do |mc|
|
26
|
+
= f.show_if(:category_id, mc.id) do
|
27
|
+
.mb-4
|
28
|
+
%h3= mc.to_s
|
30
29
|
|
31
|
-
|
32
|
-
|
30
|
+
- if organization_categories.present?
|
31
|
+
%small.text-muted #{mc.category} #{mc.category_type} Membership
|
33
32
|
|
34
|
-
|
33
|
+
= mc.rich_text_body
|
35
34
|
|
36
|
-
|
35
|
+
= render_if_exists("effective/applicants/select/#{mc.to_s.parameterize.underscore}", f: f, category: mc)
|
37
36
|
|
38
|
-
|
39
|
-
|
40
|
-
|
37
|
+
- if organization_categories.present?
|
38
|
+
= f.show_if_any(:category_id, organization_categories.map(&:id)) do
|
39
|
+
= render('effective/applicants/select_organization', f: f)
|
41
40
|
|
42
|
-
|
41
|
+
= f.save 'Save and Continue'
|
@@ -1,28 +1,27 @@
|
|
1
1
|
= render 'layout' do
|
2
2
|
= render 'effective/applicants/content', resource: resource
|
3
3
|
|
4
|
-
|
5
|
-
.
|
6
|
-
%p Should your application be approved, you are eligible to receive a Professional Stamp.
|
4
|
+
= card do
|
5
|
+
%p Should your application be approved, you are eligible to receive a Professional Stamp.
|
7
6
|
|
8
|
-
|
7
|
+
%p Please confirm your name as it should appear on any Professional Stamp.
|
9
8
|
|
10
|
-
|
11
|
-
|
9
|
+
= effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
|
10
|
+
= f.hidden_field :id
|
12
11
|
|
13
|
-
|
14
|
-
|
15
|
-
|
12
|
+
= f.fields_for(:stamps, f.object.stamp) do |fs|
|
13
|
+
= fs.hidden_field :applicant_id
|
14
|
+
= fs.hidden_field :applicant_type
|
16
15
|
|
17
|
-
|
18
|
-
|
16
|
+
= fs.hidden_field :user_id
|
17
|
+
= fs.hidden_field :user_type
|
19
18
|
|
20
|
-
|
21
|
-
|
22
|
-
|
19
|
+
= fs.hidden_field :price
|
20
|
+
= fs.hidden_field :tax_exempt
|
21
|
+
= fs.hidden_field :qb_item_name
|
23
22
|
|
24
|
-
|
23
|
+
= render 'effective/stamps/fields', f: fs
|
25
24
|
|
26
|
-
|
25
|
+
%p Stamps will be processed after approval of this application.
|
27
26
|
|
28
|
-
|
27
|
+
= f.save 'Save and Continue'
|
@@ -1,11 +1,10 @@
|
|
1
1
|
= render 'layout' do
|
2
2
|
= render 'effective/applicants/content', resource: resource
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
=
|
7
|
-
|
8
|
-
= f.save 'Save and Continue'
|
4
|
+
= card do
|
5
|
+
= effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
|
6
|
+
= f.hidden_field :id
|
7
|
+
= f.save 'Save and Continue'
|
9
8
|
|
10
9
|
-# .card
|
11
10
|
-# .card-body
|
@@ -12,16 +12,15 @@
|
|
12
12
|
= render 'effective/applicants/missing_info', applicant: resource
|
13
13
|
|
14
14
|
- unless resource.approved?
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
.card-body= render 'effective/applicants/summary', applicant: resource
|
15
|
+
= card do
|
16
|
+
%p
|
17
|
+
Your application must still be approved.
|
18
|
+
We will send
|
19
|
+
%strong= resource.user.email
|
20
|
+
an email notifying you of the application's approval status.
|
21
|
+
|
22
|
+
= card do
|
23
|
+
= render 'effective/applicants/summary', applicant: resource
|
25
24
|
|
26
25
|
- if resource.min_applicant_references.to_i > 0 || resource.applicant_references.present?
|
27
26
|
= card do
|
@@ -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(fee_payment) 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= fee_payment.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: fee_payment, user: fee_payment.user
|
1
|
+
= wizard_card(fee_payment)
|
2
|
+
= render 'users/demographics', parent: fee_payment, user: fee_payment.user
|
@@ -1,3 +1,4 @@
|
|
1
1
|
.effective-fee-payment
|
2
2
|
- fee_payment.render_steps.each do |partial|
|
3
|
-
|
3
|
+
- fee_payment.render_step = partial
|
4
|
+
= render "effective/fee_payments/#{partial}", fee_payment: fee_payment
|
@@ -1,9 +1,2 @@
|
|
1
|
-
|
2
|
-
.
|
3
|
-
.row
|
4
|
-
.col-sm
|
5
|
-
%h5.card-title= fee_payment.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: fee_payment, organization: fee_payment.organization
|
1
|
+
= wizard_card(fee_payment)
|
2
|
+
= render 'organizations/demographics', parent: fee_payment, organization: fee_payment.organization
|
@@ -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/fee_payments/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))
|
@@ -6,15 +6,14 @@
|
|
6
6
|
- resource.declare_code_of_ethics = completed
|
7
7
|
- resource.declare_truth = completed
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
=
|
12
|
-
= f.hidden_field :id
|
9
|
+
= card do
|
10
|
+
= effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
|
11
|
+
= f.hidden_field :id
|
13
12
|
|
14
|
-
|
15
|
-
|
13
|
+
= f.check_box :declare_code_of_ethics,
|
14
|
+
label: 'Yes, I hereby certify that I have read and will adhere to the Code of Ethics'
|
16
15
|
|
17
|
-
|
18
|
-
|
16
|
+
= f.check_box :declare_truth,
|
17
|
+
label: 'Yes, I hereby certify that the statements and information contained herein are correct'
|
19
18
|
|
20
|
-
|
19
|
+
= f.save 'Save and Continue'
|
@@ -1,12 +1,11 @@
|
|
1
1
|
= render 'layout' do
|
2
2
|
= render 'effective/fee_payments/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,18 +1,17 @@
|
|
1
1
|
= render 'layout' do
|
2
2
|
= render 'effective/fee_payments/content', resource: resource
|
3
3
|
|
4
|
-
|
5
|
-
.
|
6
|
-
- datatable = EffectiveResources.best('EffectiveRepresentativesDatatable').new(self, organization: resource.organization)
|
4
|
+
= card do
|
5
|
+
- datatable = EffectiveResources.best('EffectiveRepresentativesDatatable').new(self, organization: resource.organization)
|
7
6
|
|
8
|
-
|
9
|
-
|
7
|
+
%h2 Representatives
|
8
|
+
= render_datatable(datatable, inline: true, simple: true)
|
10
9
|
|
11
|
-
|
12
|
-
|
13
|
-
|
10
|
+
%h2 Organization Info
|
11
|
+
= effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
|
12
|
+
= f.hidden_field :id
|
14
13
|
|
15
|
-
|
16
|
-
|
14
|
+
= f.fields_for(:organization, f.object.organization) do |fo|
|
15
|
+
= render 'organizations/fields_demographics', f: fo, organization: f.object.organization, parent: resource
|
17
16
|
|
18
|
-
|
17
|
+
= f.save 'Save and Continue'
|