aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
Commit message (Collapse)AuthorAgeFilesLines
* Fixed that FormTagHelper generates illegal html if name contains e.g. square ↵Vladimir Dobriakov2008-11-041-1/+34
| | | | | | brackets [#1238 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Fix regression bug that made date_select and datetime_select raise a Null ↵Bernardo de Pádua2008-11-041-0/+40
| | | | | | Pointer Exception when a nil date/datetime was passed and only month and year were displayed [#1289 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Cleaned up route optimisation guard condition generation code as it was ↵Tom Lea2008-11-011-0/+13
| | | | | | | | getting a little messy. Add additional condition to handle the case where default_url_options is only defined in the controller, not the view. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Dup local assigns for partial collections so nil values doesn't get ↵Joshua Peek2008-10-301-0/+4
| | | | overwritten [#1250 state:resolved]
* Proper API for reloading translationsDavid Heinemeier Hansson2008-10-291-2/+2
|
* Ensure @content_for_* is checked before yielding to block in render :layout ↵Ryan Bates2008-10-281-0/+10
| | | | | | [#8994 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Track rendered templates in stack so the current template can always be ↵Joshua Peek2008-10-281-0/+4
| | | | accessed. Added ActionView::Base#template to access the template object.
* modified current_page? to ignore extra parameters unless specified in optionsErik Andrejko2008-10-261-0/+10
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#805 state:committed]
* Fixed bug with asset timestamping when using relative_url_root (Joe ↵David Heinemeier Hansson2008-10-261-0/+8
| | | | Goldwasser) [#1265 status:committed]
* Added inline builder yield to atom_feed_helper tags where appropriate (Sam ↵David Heinemeier Hansson2008-10-131-0/+30
| | | | Ruby) [#8994 status:committed]
* Add support for xml processing instructions in atom_feed_helper [#926 ↵Matthew M. Boedicker2008-10-131-0/+51
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure select_tag#name attribute uses [] when :multiple is true. [#1146 ↵Andrew Kaspick2008-10-071-1/+2
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Implement submit_to_remote as a wrapper around a more generic button_to_remoteTarmo Tänav2008-10-071-3/+3
| | | | | | | Removed the "return false" from submit_to_remote onclick end as button input elements have no default behavior to cancel. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix image_tag behavior on windows. [#1085 state:resolved]madlep2008-10-061-0/+13
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add options to field_set_tagAndrew Kaspick2008-09-291-0/+6
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1116 state:committed]
* Fixed AssetTag cache with with relative_url_root [#1022 state:resolved]Martin Rehfeld2008-09-221-0/+50
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Refactor AssetTagHelper and fix remaining threadsafe issues.Joshua Peek2008-09-221-4/+10
|
* Fixed missing template paths on exception [#1082 state:resolved]Claudio Poli2008-09-201-1/+17
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Remove the country_select helper.Michael Koziarski2008-09-181-1549/+0
| | | | | | | | We're in no position to mediate disputes on this matter, and the previous change to use ISO 3166 has offended just as many people as the ad-hoc list did. If you want the old list back you can install the plugin: ruby script/plugin install git://github.com/rails/country_select.git
* Added image_submit_tag confirm option [status:committed #784]Alastair Brunton2008-09-101-0/+7
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* The FormTagHelper#submit_tag helper will now pass along the original value ↵Jose Fernandez2008-09-101-2/+2
| | | | | | of the submit button to the params if the :disable_with option is used [status:committed #633] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Allow prototype functions to receive position parameter as a symbol.miloops2008-08-301-0/+2
| | | | | | [#887 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Added button_to_remote helperTarmo Tänav2008-08-291-0/+13
| | | | | | Ticket originally from http://dev.rubyonrails.org/ticket/3641 Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Ensure that calling content_tag_for in a helper doesn't cause duplicate output.Tom Lea2008-08-291-0/+8
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#871 state:committed]
* Added TextHelper#current_cycle to return the current cycle for better design ↵Ken Collins2008-08-271-0/+34
| | | | | | | | options. [#417 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Cache JavaScriptGenerator's helper module set on the templateJoshua Peek2008-08-262-9/+0
|
* Performance: Cache modules that extend the view context for JavaScriptGeneratorJoshua Peek2008-08-252-0/+9
|
* Include all helpers into ActionView::HelperJoshua Peek2008-08-251-3/+3
|
* Ruby 1.9 compat: set source encodingJeremy Kemper2008-08-231-0/+1
|
* Merge branch 'master' into i18nJeremy Kemper2008-08-221-0/+4
|\
| * Ensure :partial => @collection and :collection => @collection behaves same. ↵Ryan Bates2008-08-221-0/+4
| | | | | | | | | | | | [#884 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* | Merge branch 'master' into i18nSven Fuchs2008-08-213-6/+60
|\|
| * Allow overriding id for feed and entry with atom_feed_builder. [#485 ↵Darragh Curran2008-08-211-5/+32
| | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Return nil instead of a space when passing an empty collection or nil to ↵Ryan Bates2008-08-191-0/+8
| | | | | | | | | | | | 'render :partial' [#791 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Fix rendering partials at the top level [#795 state:resolved]Joshua Peek2008-08-131-0/+18
| |
| * Set asset-cached file ctime and mtime to the max mtime of the combined ↵Jeremy Kemper2008-08-121-1/+2
| | | | | | | | files. Allows for consistent ETag generation without having a shared filesystem.
* | Cleaned up ActiveRecord i18n scopingIain Hecker2008-08-141-14/+14
| |
* | update i18n usage for pluralization hashes (api change)Sven Fuchs2008-08-101-0/+22
|/
* Added tests for partial collection counters [#766 state:resolved]Cameron Yule2008-08-091-4/+8
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* mail_to should use decodeURIcomponent instead of unescape to be utf friendly.miloops2008-08-081-3/+7
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Refactor DateHelper to use DateTimeSelector presenter patternClemens Kofler2008-08-072-61/+260
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fixed i18n bulk translate issues in NumberHelperClemens Kofler2008-08-041-13/+13
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix file permissionsTarmo Tänav2008-07-311-0/+0
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* In javascript helpers option[:type] = :synchronous should work as described ↵miloops2008-07-311-0/+6
| | | | | | in docs. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Prototype helpers should generate Element.insert instead of Insertion.new, ↵miloops2008-07-301-6/+6
| | | | which has been deprecated in Prototype 1.6.
* Updated NumberHelper: Full i18n support (except number_to_phone), ↵Clemens Kofler2008-07-292-27/+67
| | | | | | consolidated API (almost all methods now support :precision, :delimiter and :separator). Added deprecation notices for old API. Added tests for new options [#716 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix that label_tag doesn't take a symbol for a name. [#719 state:resolved]Jan De Poorter2008-07-291-0/+6
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Refactored TextHelper#truncate, highlight, excerpt, word_wrap and auto_link ↵Clemens Kofler2008-07-271-9/+42
| | | | | | to accept options hash [#705 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* error_message_on takes an options hash instead of ordered parameters [#704 ↵Clemens Kofler2008-07-271-24/+24
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* AbstractRequest.relative_url_root is no longer automatically configured by a ↵Joshua Peek2008-07-241-22/+23
| | | | HTTP header. It can now be set in your configuration environment with config.action_controller.relative_url_root