diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-11-30 21:45:31 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-11-30 21:45:31 +0000 |
commit | 8dca6586ded76d5950b4fccfb720e2861efede6d (patch) | |
tree | 4a3e38a9ba2667245d6ea4bfd8e23fa5179b2848 /actionpack/lib/action_view/helpers/form_tag_helper.rb | |
parent | ec75642e137a8682b099009ab205f764fe70c51e (diff) | |
download | rails-8dca6586ded76d5950b4fccfb720e2861efede6d.tar.gz rails-8dca6586ded76d5950b4fccfb720e2861efede6d.tar.bz2 rails-8dca6586ded76d5950b4fccfb720e2861efede6d.zip |
Fixed that script/server running against Mongrel should tail the proper log regardless of the environment [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view/helpers/form_tag_helper.rb')
-rw-r--r-- | actionpack/lib/action_view/helpers/form_tag_helper.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/actionpack/lib/action_view/helpers/form_tag_helper.rb b/actionpack/lib/action_view/helpers/form_tag_helper.rb index e2e796e7c8..661034e5ca 100644 --- a/actionpack/lib/action_view/helpers/form_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/form_tag_helper.rb @@ -153,6 +153,11 @@ module ActionView tag :input, html_options end + # Creates a label tag. + def label_tag(text, options = {}) + content_tag :label, text, options + end + # Creates a submit button with the text <tt>value</tt> as the caption. If options contains a pair with the key of "disable_with", # then the value will be used to rename a disabled version of the submit button. def submit_tag(value = "Save changes", options = {}) |