generic_form_builder 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.2'
4
+ s.version = '0.4.3'
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"]
@@ -42,7 +42,7 @@ class GenericFormBuilder < ActionView::Helpers::FormBuilder
42
42
  return super if options[:default_builder]
43
43
  label_text = options.delete(:label) || field.to_s.humanize
44
44
  options[:tag_type] ||= :li
45
- content_tag(options[:tag_type], label(field, super + " #{label_text} #{errors_text(field)}"))
45
+ content_tag(options[:tag_type], label("#{field}_#{value}", super + " #{label_text} #{errors_text(field)}"))
46
46
  end
47
47
 
48
48
  def buttons(options = {})
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.2
4
+ version: 0.4.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2012-03-19 00:00:00.000000000Z
15
+ date: 2012-03-21 00:00:00.000000000Z
16
16
  dependencies: []
17
17
  description:
18
18
  email: