cama_contact_form 0.0.14 → 0.0.15

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: 52e552fe9193af59fc50c0dd8e40affdd3ff889f
4
- data.tar.gz: 3c511771552510e952a29de3481a03f637aaeb77
3
+ metadata.gz: ad12606c6fbe98c89eb291b636112e950efd6173
4
+ data.tar.gz: 26d903baf784af50234313c6f1122dc942ad3ff9
5
5
  SHA512:
6
- metadata.gz: 89e4db243d6be8afd1ffafbe4ea5d0bb9e77b325fb9751fdbc27a09af19a1ec20f5772e4de435bcf6b5f6429c6e0edcc78140cff4617cc5c590242d4bb5ef658
7
- data.tar.gz: 44ccd7c1cad92dacf12aff905a077fc8f6fe53fd13189ab6b22e91aca28ab632e1fc326c97d96948f3d597276d7c10c70bb93b3705cd37f02ba5541d48239d9d
6
+ metadata.gz: 198a2f08d59a5511de52177cbda439bb6587e6160dddfba9c97174e46fc137c38fd5fdf69197cd9ed203633f9916a3715f96b39fa231e657a0344bfc70194a06
7
+ data.tar.gz: 1a584138d9ad92d8addbc20df1263eb8289ec6071cdd9a0b42921cb3730efce9563964fe5d415d33605f43a8a18645f861cf7b2122c6736b5f65150198a55158
@@ -116,7 +116,7 @@ module Plugins::CamaContactForm::MainHelper
116
116
  else
117
117
  end
118
118
  r[:template] = r[:template].sub('[ci]', temp2)
119
- r[:template] = r[:template].sub('[descr ci]', field_options[:description] || "").sub('<p></p>', '')
119
+ r[:template] = r[:template].sub('[descr ci]', field_options[:description].to_s.translate).sub('<p></p>', '')
120
120
  html += r[:template].gsub('[label ci]', for_name)
121
121
  end
122
122
  html
@@ -1,3 +1,3 @@
1
1
  module CamaContactForm
2
- VERSION = "0.0.14"
2
+ VERSION = "0.0.15"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cama_contact_form
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Owen Peredo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-04 00:00:00.000000000 Z
11
+ date: 2016-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails