Skip to content
Browse files

acutally fix deprec

  • Loading branch information...
1 parent b3eb5cb commit 844a8e5026f4ea07dd9c1ab750d1931382b887d7 @mischa mischa committed Feb 19, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/air_blade/air_budd/form_builder.rb
View
4 lib/air_blade/air_budd/form_builder.rb
@@ -199,9 +199,9 @@ def input_type_for(field_helper)
# but then your button would not be wrapped with a div of class
# 'buttons'. The div is needed for the CSS.
def buttons(&block)
- concat '<div class="buttons">', block
+ concat '<div class="buttons">'
yield self
- concat '</div>', block
+ concat '</div>'
end
# Buttons and links for REST actions. Actions that change

0 comments on commit 844a8e5

Please sign in to comment.
Something went wrong with that request. Please try again.