aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
Commit message (Collapse)AuthorAgeFilesLines
* Added support to AssetTagHelper#javascript_include_tag for having :defaults ↵David Heinemeier Hansson2006-02-282-5/+7
| | | | | | appear anywhere in the list, so you can now make one call ala javascript_include_tag(:defaults, "my_scripts") or javascript_include_tag("my_scripts", :defaults) depending on how you want the load order (closes #3506) [Bob Silva] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3696 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for visual effects scoped queues to the visual_effect helper ↵Thomas Fuchs2006-02-271-0/+6
| | | | | | #3530 [Abdur-Rahman Advany] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3687 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added script.aculo.us drag and drop helpers to RJS [Thomas Fuchs]Thomas Fuchs2006-02-261-0/+26
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3667 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed form_for regression (closes #3962) [t.lucas@toolmantim.com]David Heinemeier Hansson2006-02-261-0/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed testsDavid Heinemeier Hansson2006-02-261-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3665 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that form elements would strip the trailing [] from the first ↵David Heinemeier Hansson2006-02-261-0/+7
| | | | | | parameter (closes #3545) [ruby@bobsilva.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3661 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The image_tag helper is not converting the options hash to symbols (closes ↵David Heinemeier Hansson2006-02-261-0/+2
| | | | | | #3615) [agkr@pobox.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added various InPlaceEditor options, #3746, #3891, #3896, #3906Thomas Fuchs2006-02-211-0/+38
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3626 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use real assigns instead of a method call [DHH]David Heinemeier Hansson2006-02-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3591 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* replace_element was renamed replace [DHH]David Heinemeier Hansson2006-02-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3590 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Also support replace and replace_html and some refactoring in ↵David Heinemeier Hansson2006-02-121-0/+5
| | | | | | JavaScriptElementProxy [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3588 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added element and collection proxies to RJS [DHH]David Heinemeier Hansson2006-02-121-1/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add JavaScriptGenerator#replace_element for replacing an element's "outer ↵Sam Stephenson2006-02-121-0/+5
| | | | | | HTML". Closes #3246. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove over-engineered form_for code for a leaner implementation.Nicholas Seckar2006-02-111-7/+7
| | | | | | | Document form_for's :html option. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3572 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add :html option for specifying form tag options in form_forSam Stephenson2006-02-081-0/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3552 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't interpret the :value option on text_area as an html attribute. Set the ↵Marcel Molina2006-02-081-1/+8
| | | | | | text_area's value. Closes #3752. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3550 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix remote_form_for creates a non-ajax form. Closes #3741.Nicholas Seckar2006-02-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3545 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add :builder => option to form_for and friends. Closes 3268.Nicholas Seckar2006-02-041-0/+75
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3536 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added reusable reloading support through the inclusion of the Relodable ↵David Heinemeier Hansson2006-01-291-1/+1
| | | | | | module that all subclasses of ActiveRecord::Base, ActiveRecord::Observer, ActiveController::Base, and ActionMailer::Base automatically gets [DHH]. Added auto-loading support for classes in modules, so Conductor::Migration will look for conductor/migration.rb and Conductor::Database::Settings will look for conductor/database/settings.rb [Nicholas Seckar]. Refactored extensions to module, class, and object in active support [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add the ability to call JavaScriptGenerator methods from helpers called in ↵Sam Stephenson2006-01-231-9/+0
| | | | | | update blocks git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3476 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Raise a RedirectBackError if redirect_to :back is called when theres no ↵David Heinemeier Hansson2006-01-221-2/+2
| | | | | | HTTP_REFERER defined (closes #3049) [kevin.clark@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3459 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* make error_messages_for return "" for nil objectsMichael Koziarski2006-01-191-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3438 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor human_size to exclude decimal place if it is zero.Marcel Molina2006-01-191-13/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3437 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix broken autocompleter test.Michael Koziarski2006-01-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3410 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix for failing auto complete unit testMichael Koziarski2006-01-131-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3409 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix failing test due to hard coded yearMichael Koziarski2006-01-131-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3408 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove Upload Progress. Closes #2871.Marcel Molina2006-01-131-136/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3406 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add test for min_chars auto_complete_field fix. Closes #2929.Marcel Molina2006-01-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3405 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added JavaScriptHelper#button_to_function that works just like ↵David Heinemeier Hansson2005-12-311-0/+5
| | | | | | JavaScriptHelper#link_to_function but uses a button instead of a href [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3367 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that JavaScriptHelper#link_to_function will honor existing :onclick ↵David Heinemeier Hansson2005-12-311-1/+1
| | | | | | definitions when adding the function call [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that JavaScriptHelper#link_to_function will honor existing :onclick ↵David Heinemeier Hansson2005-12-311-0/+4
| | | | | | definitions when adding the function call [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3364 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :disable_with option to FormTagHelper#submit_tag to allow for easily ↵David Heinemeier Hansson2005-12-301-0/+7
| | | | | | disabled submit buttons with different text [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3361 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make auto_link handle nil by returning quickly if blank?Scott Barron2005-12-301-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3359 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make auto_link match urls with a port number specified.Marcel Molina2005-12-261-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3351 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for toggling visual effects to ↵Thomas Fuchs2005-12-251-0/+10
| | | | | | ScriptaculousHelper::visual_effect, #3323. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3350 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :select option for JavaScriptMacroHelper#auto_complete_field that ↵David Heinemeier Hansson2005-12-241-0/+9
| | | | | | makes it easier to only use part of the auto-complete suggestion as the value for insertion [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added delayed execution of Javascript from within RJS (closes #3264) ↵David Heinemeier Hansson2005-12-221-0/+8
| | | | | | [devslashnull@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3335 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add additional RJS functionality: alert, redirect_to, call, assign, and <<Sam Stephenson2005-12-201-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3319 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change form_for and fields_for method signatures to take object name and ↵Marcel Molina2005-12-023-10/+10
| | | | | | object as separate arguments rather than as a Hash. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3201 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce :selected option to the select helper. Allows you to specify a ↵Jeremy Kemper2005-11-231-0/+18
| | | | | | selection other than the current value of object.method. Specify :selected => nil to leave all options unselected. Closes #2991. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3174 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Pass multiple arguments to Element.show and Element.hide in ↵Sam Stephenson2005-11-211-4/+4
| | | | | | JavaScriptGenerator instead of using iterators git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3116 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use Element.update('id', 'html') instead of uid=501(sam) gid=501(sam) ↵Sam Stephenson2005-11-181-2/+2
| | | | | | groups=501(sam), 81(appserveradm), 79(appserverusr), 80(admin).innerHTML = 'html' in JavaScriptGenerator#replace_html so that script tags are evaluated git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3086 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct length for the truncate text helper. Closes #2913.Jeremy Kemper2005-11-181-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3080 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactored JavaScriptHelper into PrototypeHelper and ScriptaculousHelper. ↵Sam Stephenson2005-11-143-155/+269
| | | | | | Added PrototypeHelper::JavaScriptGenerator and PrototypeHelper#update_page for easily modifying multiple elements in an Ajax response. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3036 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added FormHelper#form_for and FormHelper#fields_for that makes it easier to ↵David Heinemeier Hansson2005-11-134-6/+175
| | | | | | work with forms for single objects also if they don't reside in instance variables [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3003 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* options_for_select allows any objects which respond_to? :first and :last ↵Jeremy Kemper2005-11-101-6/+16
| | | | | | rather than restricting to Array and Range. Closes #2824. References [2126]. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2977 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The auto_link text helper accepts an optional block to format the link text ↵Jeremy Kemper2005-11-101-0/+7
| | | | | | for each url and email address. References #2628. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2963 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change javascript_include_tag :defaults to not use script.aculo.us loader, ↵Thomas Fuchs2005-11-011-2/+19
| | | | | | which facilitates the use of plugins for future script.aculo.us and third party javascript extensions, and provide register_javascript_include_default for plugins to specify additional JavaScript files to load. Removed scriptaculous.js, slider.js and builder.js git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2835 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for the queue option on visual_effectThomas Fuchs2005-10-291-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2807 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added TextHelper#strip_tags for removing HTML tags from a string (using ↵David Heinemeier Hansson2005-10-261-0/+9
| | | | | | HTMLTokenizer) (closes #2229) [marcin@junkheap.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2750 5ecf4fe2-1ee6-0310-87b1-e25e094e27de