homeschool 0.0.1.24 → 0.0.1.25
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/form_buildr.rb +5 -1
- metadata +3 -3
data/lib/form_buildr.rb
CHANGED
@@ -48,7 +48,11 @@ class ActionView::Helpers::FormBuilder
|
|
48
48
|
end
|
49
49
|
|
50
50
|
def labeled_select(method, choices, options={}, html_options={})
|
51
|
-
label_for(method, options) + select(method, choices, options, html_options)
|
51
|
+
label_for(method, options) + select(method, choices, options.without(:label, :no_colon), html_options)
|
52
|
+
end
|
53
|
+
|
54
|
+
def labeled_collection_select(method, collection, value_method, text_method, options={}, html_options={})
|
55
|
+
label_for(method, options), + collection_select(method, collection, value_method, text_method, options.without(:label, :no_colon), html_options)
|
52
56
|
end
|
53
57
|
|
54
58
|
rdef(/labeled_(.*)/) do |match, *args|
|
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.
|
2
|
+
rubygems_version: 0.9.2
|
3
3
|
specification_version: 1
|
4
4
|
name: homeschool
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.0.1.
|
7
|
-
date: 2007-09-
|
6
|
+
version: 0.0.1.25
|
7
|
+
date: 2007-09-21 00:00:00 -04:00
|
8
8
|
summary: The homeschool gem
|
9
9
|
require_paths:
|
10
10
|
- lib
|