neorails-form_fu 0.52 → 0.53
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 +2 -2
- data/lib/form_fu/form_builder.rb +1 -5
- metadata +2 -2
data/form_fu.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'form_fu'
|
3
|
-
s.version = '0.
|
4
|
-
s.date = '2008-09-
|
3
|
+
s.version = '0.53'
|
4
|
+
s.date = '2008-09-17'
|
5
5
|
|
6
6
|
s.summary = "Build Nice DRY Rails Forms"
|
7
7
|
s.description = "FormFu is a Rails plugin that enables you to easily build nice, tableless forms"
|
data/lib/form_fu/form_builder.rb
CHANGED
@@ -15,7 +15,7 @@ module FormFu
|
|
15
15
|
|
16
16
|
alias :text_area_input :text_area
|
17
17
|
def text_area(field, options = {}, &block)
|
18
|
-
format_with_label(field, options.merge(:field_type => "text_area"
|
18
|
+
format_with_label(field, options.merge(:field_type => "text_area"), super(field, purge_custom_tags(options)), &block)
|
19
19
|
end
|
20
20
|
|
21
21
|
# wrap the date_select helper
|
@@ -82,10 +82,6 @@ module FormFu
|
|
82
82
|
options[:field] ||= {}
|
83
83
|
options[:field].merge!(:has_error => has_error, :field_type => options[:field_type])
|
84
84
|
|
85
|
-
if options[:preserve]
|
86
|
-
tag_output = @template.preserve(tag_output)
|
87
|
-
end
|
88
|
-
|
89
85
|
# find label name
|
90
86
|
label_name = options[:label] || field.to_s.humanize
|
91
87
|
options[:separator] ||= default_separator
|
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.
|
4
|
+
version: "0.53"
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tyler Crocker
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-09-
|
12
|
+
date: 2008-09-17 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|