effective_pages 2.0.2 → 2.0.3
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1313a671f8759b405908b4f96fd751cf574cb45b
|
4
|
+
data.tar.gz: 5f1c2fbf5474523ab5aefd8d539fa0ce73bd1c62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a6285b1193fa4ff849cdc4854fe40294408afdc51302b729321e10f3710cf522f2e35397cd3f272d42030196d54546840af5e7eb4a5f9dab23a821d169bce2e
|
7
|
+
data.tar.gz: 391184f49850291e497bc1871e3a2db9edcbf3f442ffcc8829ed6e22b34157b1dd8dd7501598ed054186275f9373bbe4c5fd099b36d49b28a25bf12a200d6e1c
|
@@ -22,7 +22,7 @@
|
|
22
22
|
= f.check_box :draft, label: 'Save this page as a draft. It will not be accessible on the website.'
|
23
23
|
|
24
24
|
- if defined?(EffectiveRoles) and f.object.respond_to?(:roles) && EffectivePages.use_effective_roles
|
25
|
-
=
|
25
|
+
= render partial: '/admin/pages/roles', locals: { page: page, form: f, f: f }
|
26
26
|
|
27
27
|
= f.submit do
|
28
28
|
= f.save 'Save'
|
@@ -0,0 +1 @@
|
|
1
|
+
= f.checks :roles, EffectiveRoles.roles_collection(f.object), hint: '* leave blank for a regular public page that anyone can view'
|
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: 2.0.
|
4
|
+
version: 2.0.3
|
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: 2019-
|
11
|
+
date: 2019-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -115,6 +115,7 @@ files:
|
|
115
115
|
- app/views/admin/pages/_actions.html.haml
|
116
116
|
- app/views/admin/pages/_additional_fields.html.haml
|
117
117
|
- app/views/admin/pages/_form.html.haml
|
118
|
+
- app/views/admin/pages/_roles.html.haml
|
118
119
|
- app/views/admin/pages/edit.html.haml
|
119
120
|
- app/views/admin/pages/index.html.haml
|
120
121
|
- app/views/admin/pages/new.html.haml
|