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: 754dfa197c146d62c5ef2feb79a72b8e7714d9b7
4
- data.tar.gz: fbc7cbeb3eeeea99a27af944a9812cc132b60e93
3
+ metadata.gz: 52e552fe9193af59fc50c0dd8e40affdd3ff889f
4
+ data.tar.gz: 3c511771552510e952a29de3481a03f637aaeb77
5
5
  SHA512:
6
- metadata.gz: a8dbc560c7fee9f3cd38ad87bc39751109444724dad67264c98833e20d7de6ea3363966fdf9eb31a27d37f9888b9c017c74db8a66dab258f8a4ba969b4b0b824
7
- data.tar.gz: 17be3c9ae429dfff03db251dcb3e4f68f494e1c39477762f61aa6cf4dc673654ffc1863f8a9866492669f0de811ad601b6f798f9e5486fae7bf314fd04aa2ed8
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])%>
@@ -1,3 +1,3 @@
1
1
  module CamaContactForm
2
- VERSION = "0.0.13"
2
+ VERSION = "0.0.14"
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.13
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-10-31 00:00:00.000000000 Z
11
+ date: 2016-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails