effective_cpd 0.5.2 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/effective/cpd_activity.rb +0 -2
- data/app/views/admin/cpd_cycles/_form_cpd_rules.html.haml +1 -1
- data/app/views/effective/cpd_audit_level_questions/_cpd_audit_level_question.html.haml +1 -1
- data/app/views/effective/cpd_statement_activities/_cpd_statement_activity.html.haml +4 -4
- data/app/views/effective/cpd_statement_activities/_form.html.haml +3 -3
- data/app/views/effective/cpd_statements/_activities_new.html.haml +3 -3
- data/lib/effective_cpd/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: aa9017248147c4af300594830ead405a65e2730a927643b17c4305e2b4bfed14
|
4
|
+
data.tar.gz: e7b981130d75f07009ab9e9230124a4fc8a7945d90d8762b372cdca52d76ecc0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e8dd1a783788c1a236b152758ebc10a67f2dcc3d6a3ea23e110400be6314b50a7774de677535fccdd57ef3612f08acfeadea3c475de35ff0c8ac2249b03dc00
|
7
|
+
data.tar.gz: 40c86b4159c7ed278fbbf4eeb2197b0b5d5c4e6333c6d06e644589c80ab3699d88eba75b9a07c2d37de79651441374b57a5d9dc8c8814b3f2f5ec157bbff6886
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
= effective_form_with(model: [:admin, cpd_cycle], engine: true) do |f|
|
5
5
|
%h2= cpd_category
|
6
|
-
%p= cpd_category.body
|
6
|
+
%p= cpd_category.body.to_s
|
7
7
|
%p= link_to 'Edit Category', edit_path, target: '_blank'
|
8
8
|
|
9
9
|
= f.fields_for :cpd_rules, cpd_cycle.rule_for(cpd_category) do |fc|
|
@@ -6,16 +6,16 @@
|
|
6
6
|
%p
|
7
7
|
= cpd_statement_activity
|
8
8
|
%br
|
9
|
-
%small.text-muted= rule.credit_description
|
9
|
+
%small.text-muted= rule.credit_description.to_s
|
10
10
|
|
11
11
|
- if cpd_activity.body.present?
|
12
|
-
.mb-3= cpd_activity.body
|
12
|
+
.mb-3= cpd_activity.body.to_s
|
13
13
|
|
14
14
|
- if cpd_statement_activity.is_carry_over?
|
15
15
|
%p
|
16
16
|
%strong Carried Forward From
|
17
17
|
%br
|
18
|
-
= cpd_statement_activity.original.cpd_statement.cpd_cycle
|
18
|
+
= cpd_statement_activity.original.cpd_statement.cpd_cycle.to_s
|
19
19
|
|
20
20
|
.row.mb-3
|
21
21
|
.col-sm-8
|
@@ -63,4 +63,4 @@
|
|
63
63
|
%p
|
64
64
|
%strong Description
|
65
65
|
%br
|
66
|
-
= cpd_statement_activity.description
|
66
|
+
= simple_format(cpd_statement_activity.description.to_s.presence || '-')
|
@@ -10,18 +10,18 @@
|
|
10
10
|
%h3= activity
|
11
11
|
|
12
12
|
- if activity.body.present?
|
13
|
-
= activity.body
|
13
|
+
= activity.body.to_s
|
14
14
|
|
15
15
|
- if cpd_statement_activity.is_carry_over?
|
16
16
|
.alert.alert-warning
|
17
17
|
This activity is read-only because it was carried forward from
|
18
|
-
= cpd_statement_activity.original.cpd_statement.cpd_cycle
|
18
|
+
= cpd_statement_activity.original.cpd_statement.cpd_cycle.to_s
|
19
19
|
|
20
20
|
.row.my-3
|
21
21
|
.col-8
|
22
22
|
%strong #{cpd_credits_label.capitalize} Calculation
|
23
23
|
%br
|
24
|
-
= rule.credit_description
|
24
|
+
= rule.credit_description.to_s
|
25
25
|
|
26
26
|
.col-2.text-center
|
27
27
|
- if f.object.persisted?
|
@@ -19,13 +19,13 @@
|
|
19
19
|
|
20
20
|
.mb-3
|
21
21
|
%strong Description
|
22
|
-
= category.body
|
22
|
+
= category.body.to_s
|
23
23
|
|
24
24
|
.mb-3
|
25
25
|
%strong #{cpd_credits_label.titleize} Calculation
|
26
26
|
%br
|
27
|
-
= rule.category_credit_description
|
28
|
-
= rule.credit_description
|
27
|
+
= rule.category_credit_description.to_s
|
28
|
+
= rule.credit_description.to_s
|
29
29
|
|
30
30
|
%div
|
31
31
|
%strong Select an Activity to Continue
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_cpd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|