Navigation Menu

Skip to content

Commit

Permalink
revised some conventions in form_tag_helper.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
fxn committed May 4, 2008
1 parent 50c96f2 commit 17d22e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions actionpack/lib/action_view/helpers/form_tag_helper.rb
Expand Up @@ -316,12 +316,12 @@ def radio_button_tag(name, value, checked = false, options = {})
# Creates a submit button with the text <tt>value</tt> as the caption. # Creates a submit button with the text <tt>value</tt> as the caption.
# #
# ==== Options # ==== Options
# * <tt>:confirm => 'question?'</tt> -- This will add a JavaScript confirm # * <tt>:confirm => 'question?'</tt> - This will add a JavaScript confirm
# prompt with the question specified. If the user accepts, the form is # prompt with the question specified. If the user accepts, the form is
# processed normally, otherwise no action is taken. # processed normally, otherwise no action is taken.
# * <tt>:disabled</tt> - If set to true, the user will not be able to use this input. # * <tt>:disabled</tt> - If true, the user will not be able to use this input.
# * <tt>:disable_with</tt> - Value of this parameter will be used as the value for a disabled version # * <tt>:disable_with</tt> - Value of this parameter will be used as the value for a disabled version
# of the submit button when the form is submitted. # of the submit button when the form is submitted.
# * Any other key creates standard HTML options for the tag. # * Any other key creates standard HTML options for the tag.
# #
# ==== Examples # ==== Examples
Expand Down

0 comments on commit 17d22e9

Please sign in to comment.