redde 0.3.31 → 0.3.32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/redde/form_helper.rb +2 -5
- data/lib/redde/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 047e222b54373613e20251316ce002da9c23a064
|
4
|
+
data.tar.gz: 2ff931f7c49f7bcea51b3e2e0ecc1b0c3d02772c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 496cb433cac1e1e3d3b1247bdbc9d619c7cd85527ce776358ac93647ce638ea8528bbe59be18722580b2455cc04f763595c2345708bbf4fa5454f9ad4199a3d1
|
7
|
+
data.tar.gz: d9a06bc9c865f6909395af5a2d9a477bd5b17f42c8a9e747ef82683d43bcb758476e8c943bf946c22856b69fce1a6f8feedac700f0b1be328f0000b593b02d9b
|
@@ -12,11 +12,8 @@ module Redde::FormHelper
|
|
12
12
|
options[:builder] ||= ReddeFormBuilder
|
13
13
|
options[:html] = { 'data-redde' => { objectName: (object.kind_of?(Array) ? object.last : object).class.model_name.param_key }.to_json }
|
14
14
|
|
15
|
-
|
16
|
-
|
17
|
-
# options[:redde][:submits] = true if options[:redde][:submits].blank?
|
18
|
-
options[:redde] = {} unless options.try(:key?, :redde)
|
19
|
-
options[:redde][:submits] = true unless options[:redde].try(:key?, :submits)
|
15
|
+
options[:redde] = {} unless options.key?(:redde)
|
16
|
+
options[:redde][:submits] = true unless options[:redde].key?(:submits)
|
20
17
|
|
21
18
|
with_clean_form_field_error_proc do
|
22
19
|
form_for(object, options) do |f|
|
data/lib/redde/version.rb
CHANGED