generic_form_builder 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/generic_form_builder.gemspec +1 -1
- data/lib/generic_form_builder.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZDU0NDFiYmJmMTk4YzJiOTJkMjkwOTZkNTE0Nzc3OTZjMTcyODgzMg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTRmYWYwYjcxYmU5ZDk5NmRjMWU1YjEyZDZmMTc3YzBhNTEzMzMwMg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MWE0MThhYzQyNWIxYWJkMzBkZDcxYWE0MDVlMWI4ODUzNmNjNDJjOTBmNmQ1
|
10
|
+
MjYyNTMzYTBmM2RmZTZiM2ZhYzI3YTIzZGI5NjlmNjk4NGExMzA2YWEzZGMx
|
11
|
+
YWJjY2MyYTgzMjYwZjk1MzZjYmEzNGQwMzEyNWI3ZTlhNGRjOTE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZWQ0ZjcyYWI3OTdkZWJhY2YyYTYwZDUyNmVmYzU2MTg4ODZkMzlhZDgwMWE1
|
14
|
+
MjUwZTM1MzRjMmQ5ZTQ3NGEyZTlkYmY2MGNjMjA1MDI0MzM5MWQ1YzliNWQ4
|
15
|
+
MDY1MjhmYzczMWEzNDMyM2ExNTc5NDNjNGRkYjJhZGEwNDQzNjI=
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.name = "generic_form_builder"
|
4
|
-
s.version = '0.
|
4
|
+
s.version = '0.13.0'
|
5
5
|
s.platform = Gem::Platform::RUBY
|
6
6
|
s.authors = ["Elliot Crosby-McCullough", "George Brocklehurst", "Elise Huard", "Tom Stuart"]
|
7
7
|
s.email = ["elliot.cm@gmail.com"]
|
data/lib/generic_form_builder.rb
CHANGED
@@ -38,7 +38,7 @@ class GenericFormBuilder < ActionView::Helpers::FormBuilder
|
|
38
38
|
return super if options[:default_builder]
|
39
39
|
label_text = options[:label] || field.to_s.humanize
|
40
40
|
note = note_html(options[:note])
|
41
|
-
p_html_options = {}
|
41
|
+
p_html_options = options.delete(:wrapper_html_options) || {}
|
42
42
|
if any_errors?(field)
|
43
43
|
p_html_options.merge!('class' => 'errors')
|
44
44
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: generic_form_builder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elliot Crosby-McCullough
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2015-02-
|
14
|
+
date: 2015-02-17 00:00:00.000000000 Z
|
15
15
|
dependencies: []
|
16
16
|
description:
|
17
17
|
email:
|