aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
Commit message (Collapse)AuthorAgeFilesLines
* fix label with block in erblest2011-11-271-2/+2
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-11-261-1/+1
|\
| * use any? to check for sizeVijay Dev2011-11-261-1/+1
| |
| * - Avoid using .first since it will create an additional query. Marc Chung2011-11-221-1/+1
| | | | | | - Handle scenario where @posts is empty.
* | Merge pull request #3724 from marcandre/media_defaultYehuda Katz2011-11-221-0/+3
|\ \ | | | | | | stylesheet_tag default's media is "screen"
| * | Make explicit the default media when calling stylesheet_tag and change the ↵Marc-Andre Lafortune2011-11-221-0/+3
| | | | | | | | | | | | default generators.
* | | Don't html-escape the :count option to translate if it's a Numeric. Fixes #3685.Jon Leighton2011-11-191-1/+3
| |/ |/|
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-11-181-1/+2
|\ \
| * | put back the removed egVijay Dev2011-11-181-0/+1
| | |
| * | Fix a number_with_delimiter :separator exampleEdward Anderson2011-11-171-1/+1
| | |
* | | _html translation should escape interpolated argumentslest2011-11-171-4/+9
| | |
* | | Revert "warn the user values are directly interpolated into _html ↵Xavier Noria2011-11-171-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | translation strings" Reason: After another round of discussion, it has been decided to let interpolation deal with unsafe strings as it should do. This reverts commit d57d8098fc269a26ea0051a9027a33af1a9a4b2b.
* | | warn the user values are directly interpolated into _html translation stringsXavier Noria2011-11-171-0/+2
| | |
* | | Fix impractical I18n lookup in nested fields_forAlexander Uvarov2011-11-171-1/+9
|/ /
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-11-131-2/+2
|\ \
| * | Cosmetic fix in number_to_currency docsAlexey Vakhov2011-11-101-2/+2
| | |
* | | Fix and simplify highlight regexpAlexey Vakhov2011-11-101-1/+1
|/ /
* | Fix small typo in link_to_function docAlexey Vakhov2011-11-081-1/+1
| |
* | Docs cosmetic fixes in Action View form_helper.rbAlexey Vakhov2011-11-061-2/+2
| |
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-11-051-2/+2
|\ \ | |/ |/|
| * Fix javascript_include_tag examples in documentationAlexey Vakhov2011-11-031-2/+2
| |
* | Remove 'size' attribute from number_field form helper fixes #3454Waseem Ahmad2011-11-041-0/+2
|/ | | | | f.number_field generates <input type="number", size="30"../> which is invalid HTML5. See: http://dev.w3.org/html5/spec/Overview.html#number-state
* Add missing type to number_field_tag documentationPaul McMahon2011-10-281-1/+1
|
* scumbag 1.8: strings are enumerable :'(Aaron Patterson2011-10-261-1/+1
|
* properly handle lists of lists. Thanks @adrianpike for reporting!Aaron Patterson2011-10-251-1/+6
|
* Merge pull request #3314 from macmartine/masterSantiago Pastorino2011-10-131-1/+1
|\ | | | | Remove user-specified delimiter from start when no area code is present (in number_to_phone)
| * remove user-specified delimiter from start when no area code is present (in ↵Mac Martine2011-10-121-1/+1
| | | | | | | | number_to_phone)
* | Merge pull request #2219 from kommen/fix_fragment_caching_squashedSantiago Pastorino2011-10-131-1/+1
|/ | | | Fix fragment caching (squashed commits)
* Fixes an issue when creating a date select with too many options.Liborio Cannici2011-10-081-5/+10
| | | | | | | | | | Inspired by dlt https://github.com/dlt/rails/commit/9e615634745dc81598e7b880d52411338d3a7a93 Closes #239. Conflicts: actionpack/CHANGELOG
* just check to see that the first item in the list is an arrayAaron Patterson2011-10-071-1/+1
|
* closes #3241 - partial doc fixVijay Dev2011-10-071-2/+2
|
* Make button_to helper support "form" option which is the form attributes.Wen-Tien Chang2011-09-291-5/+15
|
* escape options for the stylesheet_link_tag methodAlexey Vakhov2011-09-251-1/+1
|
* Allow asset tag helper methods to accept :digest => false option in order to ↵Santiago Pastorino2011-09-144-6/+6
| | | | completely avoid the digest generation.
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-09-081-2/+2
|\
| * Fix grammar for content_tag_for and div_for docs.Hendy Tanata2011-09-051-2/+2
| |
* | Merge pull request #2872 from sikachu/content_tag_html_safeSantiago Pastorino2011-09-051-1/+1
|\ \ | | | | | | Make sure that result from content_tag_for with collection is html_safe
| * | Make sure that result from content_tag_for with collection is html_safePrem Sichanugrist2011-09-051-1/+1
| | | | | | | | | Thank you @spastorino for catching the empty test in b84cee0, as I totally forgot that I still have to make it html_safe.
* | | Merge pull request #2815 from avakhov/current-page-non-get-requestsSantiago Pastorino2011-09-051-0/+8
|\ \ \ | | | | | | | | current_page? returns false for non-GET requests
| * | | current_page? returns false for non-GET requestsAlexey Vakhov2011-09-021-0/+8
| | | |
* | | | Merge pull request #2799 from tomstuart/3-1-stableSantiago Pastorino2011-09-051-3/+3
| |/ / |/| | | | | | | | Never return stored content from content_for when a block is given
* | | if ... nil? is more expensive than unlessMilan Dobrota2011-09-042-4/+4
| |/ |/|
* | Make `content_tag_for` and `div_for` accepts the array of recordsPrem Sichanugrist2011-09-041-5/+51
|/ | | | | | | | | | | | | | | So instead of having to do this: @items.each do |item| content_tag_for(:li, item) do Title: <%= item.title %> end end You can now do this: content_tag_for(:li, @items) do |item| Title: <%= item.title %> end
* Tiny refactorSantiago Pastorino2011-08-251-4/+7
|
* Merge pull request #2491 from waynn/fix_symbolSantiago Pastorino2011-08-251-2/+2
|\ | | | | fix destructive stringify_keys for label_tag
| * fix destructive stringify_keys for label_tagWaynn Lue2011-08-111-2/+2
| |
* | Revert "Simplify JavaScriptHelper#escape_javascript"Santiago Pastorino2011-08-241-4/+6
| | | | | | | | | | | | This commit broke the build without any improvement. This reverts commit eb0b71478ad4c37fdc4ec77bf2cf7c6b65dd36c4.
* | Simplify JavaScriptHelper#escape_javascriptDaniel Schierbeck2011-08-241-7/+6
| | | | | | | | | | | | Use the Linus-style conditional. Also fix the documentation slightly. Signed-off-by: Andrew White <andyw@pixeltrix.co.uk>
* | Ensure regexp and hash key are UTF-8Andrew White2011-08-231-3/+10
| |
* | fix escape_javascript for unicode character \u2028.Teng Siong Ong2011-08-211-2/+3
| |