blueberry_cms 0.1.3 → 0.1.4
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: a9a26669220c5e0b586ff4c90b023f16d4d19bca4c0302f21a18b5a0960d43a4
|
4
|
+
data.tar.gz: fd888d44422eae9481f4de5eb9242253abb3fa23c4f1ca40e2d326f3fac02875
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ddb4c133058e427739cd668d1aa3e6b421c1ed2397fb78e3274603b9cb49e03ed22184dac4655d73974b2ad547b94b5778bfa2615036f9bcf9a751f42bcc0279
|
7
|
+
data.tar.gz: e2e6f33d92033fe391d7e0ad647602dff0ed9b399aa1986bfa9425ff3de71a2e823ce7b7ab6e770cda8e9ad3af202123f30c6bc731ab42d3d65073acf610fa44
|
@@ -5,7 +5,7 @@ module BlueberryCMS
|
|
5
5
|
|
6
6
|
MARGINS = %w[0 xs sm md lg xl].freeze
|
7
7
|
|
8
|
-
field :active, type: Boolean
|
8
|
+
field :active, type: Boolean, localize: true, default: false
|
9
9
|
field :block_anchor, type: String
|
10
10
|
field :bottom_margin, type: String
|
11
11
|
field :bottom_margin_xs, type: String
|
@@ -12,7 +12,11 @@
|
|
12
12
|
strong = f.object.decorate.label
|
13
13
|
.col-sm-6.text-right
|
14
14
|
.panel-actions
|
15
|
-
|
15
|
+
- I18n.available_locales.each do |locale|
|
16
|
+
.tab-content class="#{locale}-content"
|
17
|
+
= f.input :active
|
18
|
+
= f.simple_fields_for :active_translations do |localized_field|
|
19
|
+
= localized_field.input locale, as: :boolean, input_html: { checked: f.object.active_translations[locale] == false ? false : true }, label: false
|
16
20
|
|
17
21
|
- unless f.object.new_record?
|
18
22
|
= link_to "#toggle-#{f.object_id}", data: { toggle: 'collapse' }, aria: { expanded: 'true' }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blueberry_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Magnusek
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-02-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: carrierwave
|