提交 28c01775 编写于 作者: S Sergey Prikhodko

fix indentations

上级 51ff88cf
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册