diff options
author | Alejandro Andrés <fuzzy.alej@gmail.com> | 2011-12-28 15:41:33 +0100 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-12-29 23:39:06 +0530 |
commit | 5f57d2ad907c09d2070fe4015aa167a550fcf80a (patch) | |
tree | 2e69dbfc3309fbcd700b05c7248418a2cdf45620 /actionpack/lib/action_view/helpers | |
parent | d8a43e26500335d54679aab42bafbce39eb71da5 (diff) | |
download | rails-5f57d2ad907c09d2070fe4015aa167a550fcf80a.tar.gz rails-5f57d2ad907c09d2070fe4015aa167a550fcf80a.tar.bz2 rails-5f57d2ad907c09d2070fe4015aa167a550fcf80a.zip |
Fixed formatting of code examples in form_tag_helper.rb
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r-- | actionpack/lib/action_view/helpers/form_tag_helper.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_view/helpers/form_tag_helper.rb b/actionpack/lib/action_view/helpers/form_tag_helper.rb index 1424a3584d..fb89641a16 100644 --- a/actionpack/lib/action_view/helpers/form_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/form_tag_helper.rb @@ -407,7 +407,7 @@ module ActionView # # submit_tag "Save", :confirm => "Are you sure?" # # => <input name='commit' type='submit' value='Save' - # data-confirm="Are you sure?" /> + # # data-confirm="Are you sure?" /> # def submit_tag(value = "Save changes", options = {}) options = options.stringify_keys @@ -451,12 +451,12 @@ module ActionView # content_tag(:strong, 'Ask me!') # end # # => <button name="button" type="button"> - # <strong>Ask me!</strong> - # </button> + # # <strong>Ask me!</strong> + # # </button> # # button_tag "Checkout", :disable_with => "Please wait..." # # => <button data-disable-with="Please wait..." name="button" - # type="submit">Checkout</button> + # # type="submit">Checkout</button> # def button_tag(content_or_options = nil, options = nil, &block) options = content_or_options if block_given? && content_or_options.is_a?(Hash) |