rails_admin_translate 0.4.0 → 0.4.1
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: 9161ec214472c284e3edf753e08fa4721015eb74ca63072bcb47c58b79ec77f5
|
4
|
+
data.tar.gz: ef4f4d86906d04add3cde6e7396732b60533f138b96fdd4d6bd081823a5bea13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
+
|
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.
|
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
|