rails_admin_translate 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '069427067bba205270d6f8663cf5ad165dd89ec92b1ce7713390891189d30d73'
4
- data.tar.gz: e149079d8977fb772438c19de45984c15d10c7e5762717084620343f57ecef66
3
+ metadata.gz: 9161ec214472c284e3edf753e08fa4721015eb74ca63072bcb47c58b79ec77f5
4
+ data.tar.gz: ef4f4d86906d04add3cde6e7396732b60533f138b96fdd4d6bd081823a5bea13
5
5
  SHA512:
6
- metadata.gz: ccff392c6674a56a3b180668fa011ad7e74eec798afb3895398ac8a61fbf6fc9a2f9576c2ee5c7d1a6851fdd463e370bb0a69be53849f97e0a54f2e3a0c1c1fa
7
- data.tar.gz: 252e7752835ea43366e3c86effb5d2d38ae4a1779315526f9db44953839984cf4670fe12953e4ef2da2a7e9bd19e71ae0bc0815e464cb9f2c53925aa50f37698
6
+ metadata.gz: 992bde139458c3ba9031c42d64f3e56561702a4b6bd81c05fe5c44591ce98449eb96eeddd001d1ac0ff6e273ec087f31342651964f24692d9a01f459f36cd4aa
7
+ data.tar.gz: 1944aa8b42b0ce8d0c80286cada493de2c78ed399acbe7fc3520a91edbd973df618e803b9daa8d3e1ef99a725399c2091399b60e3c9a4f70ce852519badacdce
@@ -0,0 +1,11 @@
1
+ :ruby
2
+ js_data = {
3
+ :jspath => javascript_path('ckeditor/init'),
4
+ :base_location => field.base_location,
5
+ :options => {
6
+ :customConfig => javascript_path('ckeditor/config')
7
+ }
8
+ }
9
+
10
+ = render 'form', form: form, field: field, field_type: :text_area, html_attributes: field.html_attributes.reverse_merge(:data => { :richtext => 'ckeditor', :options => js_data.to_json })
11
+
@@ -1,3 +1,3 @@
1
1
  module RailsAdminTranslate
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin_translate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GlebTv
@@ -80,6 +80,7 @@ files:
80
80
  - README.md
81
81
  - Rakefile
82
82
  - app/views/rails_admin/main/_form.html.haml
83
+ - app/views/rails_admin/main/_form_ck_editorml.html.haml
83
84
  - app/views/rails_admin/main/_form_code_mirrorml.html.haml
84
85
  - app/views/rails_admin/main/_form_fieldml.html.haml
85
86
  - app/views/rails_admin/main/_form_textml.html.haml