effective_memberships 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88bffb7bd99244104ce17a88a864debcea2fd3e19e7741b46a7b5ca655e688b4
|
4
|
+
data.tar.gz: c0b583bbfeea31146338d5148faf64ae973bc05eb49c694f0d3e2f9fd1488897
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fafe61c02d58d5e4f84c4b35f343cc838573f2e8ec4d4f88d3afabe8f2bd844402dd9209964042c17d4881a02f1854f244b9a7bcf4878f89db79f8aa1707ca1
|
7
|
+
data.tar.gz: a2762bd75668e045ca8d9f6ff1118387d5150d0ab2756fedd1a48478b88685909b6bf0bb3fd0fe98e05cc7a7d8333ec2f6455a32643a91cf90e2a2c03f603a13
|
@@ -1,10 +1,9 @@
|
|
1
1
|
= effective_form_with(model: applicant_reference, engine: true) do |f|
|
2
|
-
|
3
|
-
|
4
|
-
- else
|
5
|
-
- raise('expected inline datatable')
|
2
|
+
= f.hidden_field :applicant_id
|
3
|
+
= f.hidden_field :applicant_type
|
6
4
|
|
7
5
|
= f.text_field :name
|
6
|
+
|
8
7
|
.row
|
9
8
|
.col= f.email_field :email
|
10
9
|
.col= f.tel_field :phone
|
@@ -13,6 +12,8 @@
|
|
13
12
|
.col= f.select :relationship, Effective::ApplicantReference::RELATIONSHIPS
|
14
13
|
.col= f.select :known, Effective::ApplicantReference::KNOWNS, label: 'Known for'
|
15
14
|
|
16
|
-
|
17
|
-
|
18
|
-
|
15
|
+
- if f.object.new_record?
|
16
|
+
%p An email will be sent asking them to complete a reference declaration form.
|
17
|
+
= f.submit('Create and Notify Reference')
|
18
|
+
- else
|
19
|
+
= f.submit
|
@@ -28,7 +28,7 @@
|
|
28
28
|
References are automatically sent a reference request.
|
29
29
|
Click 'New' to add an additional reference, or click 'Notify' to resend the reference request.
|
30
30
|
|
31
|
-
= render_datatable(EffectiveApplicantReferencesDatatable.new(
|
31
|
+
= render_datatable(EffectiveApplicantReferencesDatatable.new(applicant: resource), inline: true, simple: true)
|
32
32
|
|
33
33
|
.mb-4
|
34
34
|
= collapse('Show application...', card_class: 'my-2') do
|
data/config/routes.rb
CHANGED