cama_contact_form 0.0.11 → 0.0.12
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: 958e0958c802d18c8cdc6fb122c59ee1cbe9f9c2
|
4
|
+
data.tar.gz: 2e3356ddca2e8315498a47a2d6745d9c7b5d79ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 189bbdcbb6bc4f41b9dfa959dcd425b484098103d552ddc807d2851b12e3420e68f43f50f0c3511b41e8af2504893a096e34a8bc30e8745ae08756be3240961b
|
7
|
+
data.tar.gz: 406aa5606a100b438fd724515a8dedc14972fa7926943327a7732bcc11c8ae77358d863544e66bb341fdea57a4c7461f3870f542d30baba0abf1a80ff52165fe
|
@@ -83,7 +83,7 @@ class Plugins::CamaContactForm::FrontController < CamaleonCms::Apps::PluginsFron
|
|
83
83
|
values = {}
|
84
84
|
form.fields.each do |field|
|
85
85
|
cid = field[:cid].to_sym
|
86
|
-
label = values.keys.include?(field[:label]) ? "#{field[:label]} (#{cid})" : field[:label]
|
86
|
+
label = values.keys.include?(field[:label]) ? "#{field[:label]} (#{cid})" : field[:label].to_s.translate
|
87
87
|
values[label] = []
|
88
88
|
if field[:field_type] == 'submit' || field[:field_type] == 'button'
|
89
89
|
elsif field[:field_type] == 'file'
|
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.
|
4
|
+
version: 0.0.12
|
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
|
+
date: 2016-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -167,3 +167,4 @@ test_files:
|
|
167
167
|
- test/dummy/README.rdoc
|
168
168
|
- test/integration/navigation_test.rb
|
169
169
|
- test/test_helper.rb
|
170
|
+
has_rdoc:
|