Permalink
Browse files

fix indentations

  • Loading branch information...
1 parent 51ff88c commit 28c0177524d68844713086ea1343718916ad97a8 @prikha prikha committed Mar 3, 2014
Showing with 3 additions and 4 deletions.
  1. +3 −4 actionview/lib/action_view/helpers/form_tag_helper.rb
@@ -469,10 +469,9 @@ def submit_tag(value = "Save changes", options = {})
# # => <button data-disable-with="Please wait..." name="button" type="submit">Checkout</button>
#
def button_tag(content_or_options = nil, options = nil, &block)
- options = content_or_options.is_a?(Hash) ? content_or_options : options
- options = button_tag_options_with_defaults(options)
- content_tag :button, content_or_options || 'Button', options, &block
- end
+ options = content_or_options.is_a?(Hash) ? content_or_options : options
+ options = button_tag_options_with_defaults(options)
+ content_tag :button, content_or_options || 'Button', options, &block
end
# Displays an image which when clicked will submit the form.

0 comments on commit 28c0177

Please sign in to comment.