rails_admin_mongoid_localize_field 0.1.2 → 0.1.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: b413446ebbebe21f5596ae582ee53d5ac2d3458c
|
4
|
+
data.tar.gz: bb40770df8eb3f99ec2f66930d7b0f912284e88e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef9beadc6c7d09cd0364702f879cdf669f175187cf4ed7f7bff9895c663b95088ad1735561896ebb78bb2b913d2f420a676521bf369ad4a534b88a96e9f61826
|
7
|
+
data.tar.gz: 608362fe08619f4899081f6831111f854037f088b637243a7366a369ac0ea9aed02f5c56933eb998eebb8e24eb808e19a145a93b36928ee6dc2c4da7cc328b90
|
@@ -6,5 +6,5 @@
|
|
6
6
|
.tab-content{ style: 'float:left' }
|
7
7
|
= form.fields_for field.translations_field do |localized_field|
|
8
8
|
- I18n.available_locales.each do |locale|
|
9
|
-
.fields.tab-pane{ style: 'padding:5px', id: "#{locale}_#{uuid}", class: ( 'active' if locale == I18n.locale ) }
|
9
|
+
.fields.tab-pane{ style: 'padding:5px; margin: 0;', id: "#{locale}_#{uuid}", class: ( 'active' if locale == I18n.locale ) }
|
10
10
|
= localized_field.send field_type, locale, html_attributes.reverse_merge({ :value => field.value.try(:[], locale.to_s) })
|