cama_contact_form 0.0.13 → 0.0.14
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: 52e552fe9193af59fc50c0dd8e40affdd3ff889f
|
4
|
+
data.tar.gz: 3c511771552510e952a29de3481a03f637aaeb77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89e4db243d6be8afd1ffafbe4ea5d0bb9e77b325fb9751fdbc27a09af19a1ec20f5772e4de435bcf6b5f6429c6e0edcc78140cff4617cc5c590242d4bb5ef658
|
7
|
+
data.tar.gz: 44ccd7c1cad92dacf12aff905a077fc8f6fe53fd13189ab6b22e91aca28ab632e1fc326c97d96948f3d597276d7c10c70bb93b3705cd37f02ba5541d48239d9d
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<%= raw r[:before_form] %>
|
11
11
|
<%= form_for @form, url: plugins_cama_contact_form_save_form_path, html: {method: "post", class: r[:form_class], multipart: true} do |f| %>
|
12
12
|
<%= hidden_field_tag "id", @form.id %>
|
13
|
-
<%= render :partial => "camaleon_cms/flash_messages", locals:{ flash: flash[:contact_form] } %>
|
13
|
+
<%= render :partial => "camaleon_cms/flash_messages", locals:{ flash: (flash[:contact_form] || {}).with_indifferent_access } %>
|
14
14
|
<%= raw cama_form_element_bootstrap_object(r[:form], values[:fields], values_fields) %>
|
15
15
|
<% if values[:fields].present? && !values[:fields].delete_if{|field| field[:field_type] != 'submit' }.present? %>
|
16
16
|
<%= raw r[:submit].sub('[submit_label]', @form.the_settings[:railscf_form_button][:name_button])%>
|
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.14
|
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-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|