aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
Commit message (Collapse)AuthorAgeFilesLines
* Changed .htaccess to allow dispatch.* to be called from a sub-directory as ↵David Heinemeier Hansson2005-03-201-10/+16
| | | | | | part of the push with Action Pack to make Rails work on non-vhost setups #826 [Nicholas Seckar/Tobias Luetke] Fixed routing and helpers to make Rails work on non-vhost setups #826 [Nicholas Seckar/Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@945 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed form helpers to query Model#id_before_type_cast instead of Model#id as ↵David Heinemeier Hansson2005-03-201-1/+1
| | | | | | a temporary workaround for Ruby 1.8.2 warnings #818 [DeLynn B] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@934 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added TextHelper#simple_format as a non-dependency text presentation ↵David Heinemeier Hansson2005-03-201-1/+14
| | | | | | helper.Fixed TextHelper#markdown to use blank? instead of empty? so it can deal with nil strings passed #814 [Johan Sorensen] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@933 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that the html options disabled, readonly, and multiple can all be ↵David Heinemeier Hansson2005-03-201-8/+26
| | | | | | treated as booleans. So specifying <tt>disabled => :true</tt> will give <tt>disabled="disabled"</tt>. #809 [mindel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@932 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed options_for_select on selected line issue #624 [Florian Weber]David Heinemeier Hansson2005-03-151-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@911 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added CaptureHelper with CaptureHelper#capture and ↵David Heinemeier Hansson2005-03-141-0/+95
| | | | | | CaptureHelper#content_for. See documentation in helper #837 [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@907 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed :anchor use in url_for #821 [Nicholas Seckar]David Heinemeier Hansson2005-03-141-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@906 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove the duplicated remote_function and make the real deal publicDavid Heinemeier Hansson2005-03-141-23/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@905 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made async callbacks work with :updateDavid Heinemeier Hansson2005-03-141-4/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@904 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made async the default approach and add get_elements_by_classDavid Heinemeier Hansson2005-03-141-10/+36
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@903 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added asynchronous processing modelDavid Heinemeier Hansson2005-03-141-6/+71
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@902 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved image_tag to AssetTagHelperDavid Heinemeier Hansson2005-03-142-26/+25
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@899 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deal with Safari garbage and allow html_optionsDavid Heinemeier Hansson2005-03-131-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@897 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Field.present, .focus, and .clear as JS convenience for working with ↵David Heinemeier Hansson2005-03-131-15/+0
| | | | | | forms. Removed link_to_display_toggle in favor of link_to_function "Cancel", "toggle_display("add_item_link", "add_item_form")" git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@896 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Field.present, .focus, and .clear as JS convenience for working with ↵David Heinemeier Hansson2005-03-131-1/+26
| | | | | | forms. Removed link_to_display_toggle in favor of link_to_function "Cancel", "toggle_display("add_item_link", "add_item_form")" git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@895 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :condition option to abort an update if some condition isnt thereDavid Heinemeier Hansson2005-03-131-5/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@894 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Checked in some documentation for JavascriptHelperDavid Heinemeier Hansson2005-03-121-0/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@892 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Respect :onclick in link_to_toggle_displayDavid Heinemeier Hansson2005-03-121-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@891 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Put it in the right moduleDavid Heinemeier Hansson2005-03-121-130/+134
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@890 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added first stab at Javascript/Ajax helpersDavid Heinemeier Hansson2005-03-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@889 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added first stab at Javascript/Ajax helpersDavid Heinemeier Hansson2005-03-121-0/+160
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@888 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added render_partial/render_partial_collection from controllers for easier ↵David Heinemeier Hansson2005-03-091-2/+4
| | | | | | Ajaxing git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@880 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added TagHelper#image_tag and deprecated UrlHelper#link_image_to ↵David Heinemeier Hansson2005-03-092-1/+31
| | | | | | (recommended approach is to combine image_tag and link_to instead) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@879 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed textilize to be resilient to getting nil parsed (by using ↵David Heinemeier Hansson2005-03-091-1/+1
| | | | | | Object#blank? instead of String#empty?) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@878 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that the :multipart option in FormTagHelper#form_tag would be ignored ↵David Heinemeier Hansson2005-03-071-2/+2
| | | | | | [Yonatan Feldman] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@877 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed link_to documentation references nonexistent URL #573David Heinemeier Hansson2005-03-061-6/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@863 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added UrlHelper#link_to_if/link_to_unless to enable other conditions that ↵David Heinemeier Hansson2005-03-061-5/+19
| | | | | | just link_to_unless_current #757 [mindel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@852 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated docs on auto-indexing #765 [Astinus]David Heinemeier Hansson2005-03-061-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@848 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that single quote was not escaped in a UrlHelper#link_to javascript ↵David Heinemeier Hansson2005-03-061-1/+1
| | | | | | confirm #549 [Scott Barron] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@837 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed the default border on link_image_to (it broke xhtml strict) -- can ↵David Heinemeier Hansson2005-03-061-3/+1
| | | | | | be specified with :border => 0 #517 [?/caleb] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@836 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that form helpers would treat string and symbol keys differently in ↵David Heinemeier Hansson2005-03-069-174/+201
| | | | | | html_options (and possibly create duplicate entries) #112 [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@833 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tagged the 0.10.0 releaseDavid Heinemeier Hansson2005-02-251-6/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@799 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed TimeZone issues in action-pack and active-support #704David Heinemeier Hansson2005-02-231-6/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@776 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added FormOptionsHelper#time_zone_select and ↵David Heinemeier Hansson2005-02-231-2/+55
| | | | | | FormOptionsHelper#time_zone_options_for_select to work with the new value object TimeZone in Active Record #688 [Jamis Buck] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@759 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Documentation fix #698David Heinemeier Hansson2005-02-231-5/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@756 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Show value when NOT fileDavid Heinemeier Hansson2005-02-231-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@752 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added FormHelper#file_field and FormTagHelper#file_field_tag for creating ↵David Heinemeier Hansson2005-02-232-1/+10
| | | | | | file upload fields git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@750 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Afghanistan (no more conspiracy!) to FormOptions#country_select and ↵David Heinemeier Hansson2005-02-191-1/+1
| | | | | | FormOptions#country_options_for_select git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@696 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :order option for date_select that allows control over the order in ↵David Heinemeier Hansson2005-02-191-13/+24
| | | | | | which the date dropdowns is used and which of them should be used #619 [Tim Bates] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@695 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActionView::Base.register_template_handler for easy integration of an ↵David Heinemeier Hansson2005-02-191-15/+42
| | | | | | alternative template language to ERb and Builder. See test/controller/custom_handler_test.rb for a usage example #656 [Jamis Buck] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@694 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* One comma too muchDavid Heinemeier Hansson2005-02-191-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@690 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added AssetTagHelper that provides methods for linking a HTML page together ↵David Heinemeier Hansson2005-02-191-0/+59
| | | | | | with other assets, such as javascripts, stylesheets, and feeds. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@689 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Completed FormTagHelper by adding radio_button_tag and select_tagDavid Heinemeier Hansson2005-02-191-1/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@688 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added FormTagHelper that provides a number of methods for creating form tags ↵David Heinemeier Hansson2005-02-192-26/+62
| | | | | | that doesn't rely on conventions with an object assigned to the template like FormHelper does. With the FormTagHelper, you provide the names and values yourself. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@687 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Iran and Irak to the countries list used by FormOptions#country_select ↵David Heinemeier Hansson2005-02-191-2/+10
| | | | | | and FormOptions#country_options_for_select git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@686 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made auto_link the only public method of its clan and added an option to ↵David Heinemeier Hansson2005-02-191-16/+23
| | | | | | control what to be linked instead git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@684 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Iran and Irak to the countries list used by country_select and ↵David Heinemeier Hansson2005-02-191-1/+4
| | | | | | country_options_for_select git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@683 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Renamed link_to_image to link_image_to (since thats what it actually does) ↵David Heinemeier Hansson2005-02-191-6/+15
| | | | | | -- kept alias for the old method name git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@682 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use per-document setting for hardbreaks on textileDavid Heinemeier Hansson2005-02-191-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@678 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed textilize for RedCloth3 to keep doing hardbreaksDavid Heinemeier Hansson2005-02-191-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@673 5ecf4fe2-1ee6-0310-87b1-e25e094e27de