effective_pages 3.13.3 → 3.13.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/admin/pages/_form_menu.html.haml +3 -1
- data/lib/effective_pages/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: 422137921264113dbec203682ea4a33e1900d1e4bb40f09e6e2dce2a5988fa83
|
4
|
+
data.tar.gz: 58633d2b56960b8717b52343b31c9cde3dac0f1142a5678b40c9f123e029c10f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b75132a3e59f15f5bf5324a9d058a0c3678bd616902f1aba61a1ff9c014cf190e35ef808f5524d0c7831ab64b13a77ca20a2245e8f0f8092e8a0b3a36d63deb
|
7
|
+
data.tar.gz: 83be6d6eec37e398085cfa78cf52fbd0538bb1b0538d13b5d6ca5818017bf1d6fbf14d3a4bd181db32797324295ddd10f0a7bdef90ddc1f1c79567ef6e9f4a3c
|
@@ -4,8 +4,10 @@
|
|
4
4
|
|
5
5
|
= f.check_box :menu, label: 'Yes, display this page in a menu'
|
6
6
|
|
7
|
-
= f.
|
7
|
+
= f.hide_if(:menu, true) do
|
8
|
+
= f.hidden_field :menu_parent_id, value: nil
|
8
9
|
|
10
|
+
= f.show_if(:menu, true) do
|
9
11
|
= f.check_box :menu_root_level, label: "This is a top level menu item. It has no content and cannot be viewed, but can have children pages"
|
10
12
|
|
11
13
|
= f.show_if :menu_root_level, true do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_pages
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.13.
|
4
|
+
version: 3.13.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: 2024-10-
|
11
|
+
date: 2024-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|