aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Merge pull request #4154 from nashby/include-blank-date-helper"Piotr Sarnacki2011-12-261-2/+2
| | | | | This reverts commit 76f0fa6066b78cd8f0e139dff4a7b65c96db5778, reversing changes made to 28cd098d99c52486aecb72aab39105d8abcd52ad.
* Merge pull request #4154 from nashby/include-blank-date-helperPiotr Sarnacki2011-12-261-2/+2
|\ | | | | a prompt string in include_blank option for date helpers
| * add ability to set a prompt string in include_blank option for date helpers, ↵Vasiliy Ermolovich2011-12-241-2/+2
| | | | | | | | closes #4143
* | removes the compatibility method Module#instance_method_namesXavier Noria2011-12-251-2/+1
| |
* | remove checks for encodings availabilitySergey Nartimov2011-12-251-1/+1
| |
* | deprecate String#encoding_aware? and remove its usageSergey Nartimov2011-12-241-5/+1
|/
* Remove some of the ActiveSupport core extensions related to 1.8.Uģis Ozols2011-12-211-1/+0
|
* Check for response to `#last` instead of `#first`.Brian Rose2011-12-201-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Ensure option for select helper responds to `#first` before comparison.Brian Rose2011-12-201-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge pull request #4033 from nashby/date-helper-field-error-procJosé Valim2011-12-203-11/+11
|\ | | | | add failing tests for issue #3487
| * fix adding field_with_errors to date selects, closes #3487Vasiliy Ermolovich2011-12-203-11/+11
| |
* | Remove deprecation warnings from Action Pack.José Valim2011-12-201-7/+0
|/
* Merge pull request #3780 from marcbowes/masterVijay Dev2011-12-161-7/+3
|\ | | | | Fix favicon_link_tag help text
| * * A `/` is required if you want to explicitly skip the assets directory. ↵Marc Bowes2011-11-281-7/+3
| | | | | | | | | | This is important because `public/assets` is typically git-ignored. * The asset id is no longer generated.
* | fix separator insertion in date_select helperSergey Nartimov2011-12-141-1/+2
| |
* | Include TagHelper but don't explicitly require itErik Michaels-Ober2011-12-122-2/+1
| | | | | | | | Allow autoloading to work as intended and avoid multiple requires.
* | Added :use_two_digit_numbers option [Lennart Fridén & Kim Persson]Lennart Fridén2011-12-111-3/+6
| | | | | | | | | | | | | | | | | | | | Added use_two_digit_numbers select_tag option for displaying months and days with leading zeros without affecting the values (useful for e.g. ISO-style dates, 2011-08-01). Signed-off-by: José Valim <jose.valim@gmail.com> Conflicts: actionpack/CHANGELOG.md
* | Add button_tag support to ActionView::Helpers::FormBuilder.Will Farrington2011-12-111-0/+33
| | | | | | | | | | | | | | | | | | | | This support is near-identical to the existing submit_tag support. Example: <%= form_for @post do |f| %> <%= f.button %> <% end %>
* | form_for with +:as+ option uses "action_as" as css class and idVasiliy Ermolovich2011-12-041-2/+2
| |
* | minor typo fixVijay Dev2011-12-011-1/+1
| |
* | Revert "use any? to check for size"Vijay Dev2011-11-281-1/+1
|/ | | | This reverts commit c4af5f00f602b9e1c3166872902265836daf321b.
* add namespace options to form_forVasiliy Ermolovich2011-11-271-2/+9
| | | | | You can provide a namespace for your form to ensure uniqueness of id attributes on form elements. The namespace attribute will be prefixed with underscore on the generate HTML id
* 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)