Permalink
Browse files

Made the :label option work on the select helper

  • Loading branch information...
1 parent 1317830 commit fc47c570b3e30c8d2d267b61dfeaee50f7aaf9c6 Michael Sheakoski committed Aug 25, 2008
Showing with 4 additions and 0 deletions.
  1. +4 −0 merb_helpers/lib/merb_helpers/form/builder.rb
@@ -318,6 +318,10 @@ def unbound_text_area(contents, attrs = {})
label(attrs) + super
end
+ def unbound_select(attrs = {})
+ label(attrs) + super
+ end
+
def unbound_check_box(attrs = {})
label_text = label(attrs)
super + label_text

0 comments on commit fc47c57

Please sign in to comment.