neorails-form_fu 0.1.1 → 0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/form_fu.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'form_fu'
3
- s.version = '0.1.1'
3
+ s.version = '0.2'
4
4
  s.date = '2008-07-06'
5
5
 
6
6
  s.summary = "Build Nice DRY Rails Forms"
@@ -36,10 +36,10 @@ module FormFu
36
36
  # build radio choices html
37
37
  choices_html = ""
38
38
  choices.each do |key, value|
39
- radio_html = radio_button(field, value)+key
39
+ radio_html = @template.radio_button(field, value)+key
40
40
 
41
41
  # wrap radio html in a label (for easier selection)
42
- choices_html << content_tag(:label, radio_html, :class => "radio-option")
42
+ choices_html << @template.content_tag(:label, radio_html, :class => "radio-option")
43
43
  end
44
44
 
45
45
  # wrap the radio-group with a label
@@ -90,8 +90,6 @@ module FormFu
90
90
  block_given? ? @template.capture(&block) : nil
91
91
  ].compact.join("\n"))
92
92
 
93
- Rails.logger.debug "OUTPUTING LABEL FORMAT:\n\n#{output_html}\n\n"
94
-
95
93
  if block_given?
96
94
  # concat to page if block was given
97
95
  return concat(output_html, block.binding)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neorails-form_fu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: "0.2"
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Crocker