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: efeecd1a0b13cef22913dbe9124367374df2a4fc
4
- data.tar.gz: 7acfa81524c32de11086ec90e42092836889acef
3
+ metadata.gz: b413446ebbebe21f5596ae582ee53d5ac2d3458c
4
+ data.tar.gz: bb40770df8eb3f99ec2f66930d7b0f912284e88e
5
5
  SHA512:
6
- metadata.gz: 6081cde5d8702d02819cd1d54dc5b26347233c0699f69f2e90acdea4153d93d591c163c676fc00b11a650750fef48fb65bfa066cea0ee5c9c4d06ef86e49b0cd
7
- data.tar.gz: 700ddfd1fdd1faa50f949d7b53246286ad347410481638a6fdbfd1c7d860cccdd133e8dc90ed473b9eed56e5a6833221a5635a0d6988b3546a508ef97f5b783d
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) })
@@ -1,3 +1,3 @@
1
1
  module RailsAdminMongoidLocalizeField
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin_mongoid_localize_field
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oleg Popadiuk