blueberry_cms 0.1.4.1 → 0.1.4.2
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ce99de215cb9589ba7d47978f1f0482069fd822b7859ba0ca2f7a563bcfabdc8
|
|
4
|
+
data.tar.gz: 5b9358b16105c9073e1634ddb5791523d5fdd3b63d0a6b6dd9c1a85e0856d272
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d55d0cfd1278635ceffb6a0dee5f462f2a1b128512956650415e35fa7e686bbf1a5d0dd499069e19853975cd5e4084f8d5084a97bf014d764476733766f55f65
|
|
7
|
+
data.tar.gz: 523ccc5181c61351e06499394054740e53a4371e430889870c02ad2ca90f22d3c5c9d130d10b42d0b8f0919e1ae593cd95384462cb49968c3d3b85e25740a2f8
|
|
@@ -17,8 +17,8 @@ module BlueberryCMS
|
|
|
17
17
|
field :name, localize: true
|
|
18
18
|
field :path, localize: true
|
|
19
19
|
field :published_at, type: DateTime
|
|
20
|
-
field :show_in_footer, type: Boolean
|
|
21
|
-
field :show_in_menu, type: Boolean
|
|
20
|
+
field :show_in_footer, localize: true, type: Boolean
|
|
21
|
+
field :show_in_menu, localize: true, type: Boolean
|
|
22
22
|
field :slug, localize: true
|
|
23
23
|
|
|
24
24
|
embeds_many :blocks, class_name: 'BlueberryCMS::PageBlock',
|
|
@@ -6,6 +6,12 @@
|
|
|
6
6
|
= f.input :active
|
|
7
7
|
= f.simple_fields_for :active_translations do |localized_field|
|
|
8
8
|
= localized_field.input locale, input_html: { checked: f.object.active_translations[locale] }, as: :boolean, label: false
|
|
9
|
+
= f.input :show_in_menu
|
|
10
|
+
= f.simple_fields_for :show_in_menu_translations do |localized_field|
|
|
11
|
+
= localized_field.input locale, input_html: { checked: f.object.show_in_menu_translations[locale] }, as: :boolean, label: false
|
|
12
|
+
= f.input :show_in_footer
|
|
13
|
+
= f.simple_fields_for :show_in_footer_translations do |localized_field|
|
|
14
|
+
= localized_field.input locale, input_html: { checked: f.object.show_in_footer_translations[locale] }, as: :boolean, label: false
|
|
9
15
|
= f.input :name
|
|
10
16
|
= f.simple_fields_for :name_translations do |localized_field|
|
|
11
17
|
= localized_field.input locale, input_html: { value: f.object.name_translations[locale] }, label: false, hint: t('.name_hint')
|
|
@@ -46,8 +52,6 @@ hr
|
|
|
46
52
|
|
|
47
53
|
hr
|
|
48
54
|
|
|
49
|
-
= f.input :show_in_menu, as: :boolean
|
|
50
|
-
= f.input :show_in_footer, as: :boolean
|
|
51
55
|
= render 'custom_fields', f: f
|
|
52
56
|
|
|
53
57
|
hr
|