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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NGI4Njc5YjcwNjk0NTQyYTk1Y2I2N2QwZDE3NjJmYmNkNGUzZWM0OQ==
4
+ ZDU0NDFiYmJmMTk4YzJiOTJkMjkwOTZkNTE0Nzc3OTZjMTcyODgzMg==
5
5
  data.tar.gz: !binary |-
6
- MjVjZWUxZDQ5ODM4ODEyY2MyMjg1NTRkZTY3MzRlYjQwNGQ2Mzc3NA==
6
+ ZTRmYWYwYjcxYmU5ZDk5NmRjMWU1YjEyZDZmMTc3YzBhNTEzMzMwMg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- M2VjNzY3N2NmNmI3NGViMDJlNzE3ZGQ5MGMwMjlkYTgzZjhlODczNzlhN2Ez
10
- NGU5MGE2YTZiMDQ3MWNhNzhjNjY2ODc5YmUzY2YwNjFkOGVjMTJmZjZkZDNk
11
- YzVjZjk2Yjc2MjU4MDQ0ZTg1Yjg5NGFkZDY4M2U2ZGM2YzY1OWI=
9
+ MWE0MThhYzQyNWIxYWJkMzBkZDcxYWE0MDVlMWI4ODUzNmNjNDJjOTBmNmQ1
10
+ MjYyNTMzYTBmM2RmZTZiM2ZhYzI3YTIzZGI5NjlmNjk4NGExMzA2YWEzZGMx
11
+ YWJjY2MyYTgzMjYwZjk1MzZjYmEzNGQwMzEyNWI3ZTlhNGRjOTE=
12
12
  data.tar.gz: !binary |-
13
- ZDBlYjAzOTI3MGJjYjEzNzdhN2UzNDRjNjUzYTIyNjc3NmZkMGRkZDc3Nzcx
14
- NjRhMWMzNzU1YzQ2NjZlMmY5MzkyYzQ0YzllMTBiNWViZDI3MDUwOTQxYzJj
15
- MzA0YTgxMjViMzIwNmVhNzFiNjBmOTJkNzBiYjE5NjgzYTA0Y2Y=
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.12.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"]
@@ -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.12.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-09 00:00:00.000000000 Z
14
+ date: 2015-02-17 00:00:00.000000000 Z
15
15
  dependencies: []
16
16
  description:
17
17
  email: