aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fixing issue #2492. ActionView::Base.field_error_proc doesn't call for label.Andrey Samsonov2012-03-271-2/+8
| | | | | | | | | | | | objectify_options method should be applied to the proper options arg. See explanation and example of the bug - https://github.com/kryzhovnik/rails_field_error_proc_bug_example
* | Don't break Haml with textarea newline fix.James Coleman2012-03-272-2/+6
|/ | | | | | See issue #393, issue #4000, issue #5190, and issue #5191. Adds a newline after the textarea opening tag based on @codykrieger's original patch so that we don't cause regressions in Haml-using apps. The regression caused textarea tags to add newlines to the field unintentionally (each update/save added an extra newline.) Also fix 6 more tests that didn't yet have the newline expectation.
* apply form_for namespace option to date_selectSergey Nartimov2012-03-261-1/+4
|
* Allow you to force the authenticity_token to be rendered even on remote ↵David Heinemeier Hansson2012-03-141-5/+9
| | | | forms if you pass true
* Do not include the authenticity token in forms where remote: true as ajax ↵David Heinemeier Hansson2012-03-141-2/+9
| | | | forms use the meta-tag value
* Merge branch '3-2-2' into 3-2-stableAaron Patterson2012-03-012-4/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | * 3-2-2: bumping to 3.2.2 Ensure [] respects the status of the buffer. Merge pull request #4834 from sskirby/fix_usage_of_psql_in_db_test_prepare Merge pull request #5084 from johndouthat/patch-1 updating RAILS_VERSION delete vulnerable AS::SafeBuffer#[] use AS::SafeBuffer#clone_empty for flushing the output_buffer add AS::SafeBuffer#clone_empty fix output safety issue with select options
| * use AS::SafeBuffer#clone_empty for flushing the output_bufferAkira Matsuda2012-02-201-1/+1
| |
| * fix output safety issue with select optionsSergey Nartimov2012-02-201-3/+3
| |
* | Add a new line after the textarea opening tag.Rafael Mendonça França2012-02-271-1/+1
|/ | | | Closes #393
* don't set the hidden checkbox value if it's nilDamien Mathieu2012-01-271-1/+1
|
* check_box helper with :disabled => true generates disabled hidden field. ↵Tadas Tamošauskas2012-01-271-1/+1
| | | | fixes #1953
* remove extra 'the'Rohit Arondekar2012-01-261-1/+1
|
* Merge pull request #4639 from joevandyk/datetime-infinity-select-fixAaron Patterson2012-01-241-1/+1
|\ | | | | datetime_select fix for dates of -infinity and +infinity
| * datetime_select should work with -/+ infinity datesJoe Van Dyk2012-01-241-1/+1
| |
* | Fix date_select with discard_month and discard_year optionsRafael Mendonça França2012-01-241-2/+2
| | | | | | | | Closes #4553 and #4633
* | Fix date_select nil and blank and order caseIndrek Juhkam2012-01-241-1/+1
|/
* Merge pull request #4604 from ihid/3-2-stableJosé Valim2012-01-221-0/+1
|\ | | | | 3-2-stable: Fixed regression - unable to use a range as choices for form.select.
| * Allow form.select to accept ranges.Jeremy Walker2012-01-221-0/+1
| |
* | document `:raise` option support for several helpers [ci skip]Jonathan Roes2012-01-211-0/+3
|/
* Fix small typo in mail_to docs in url_helper.rbSimon Baird2012-01-191-1/+1
|
* Infer currency negative format from positive one.Tsutomu Kuroda2012-01-051-0/+1
| | | | | | | | When a locale file sets the format of the positive currency value as '%n %u', the default negative currency format should be '-%n %u'. Cherry-picked from master (6724c8c8)
* copy editsVijay Dev2012-01-041-10/+7
|
* improve doc in number helper optionsPablo Ifran2012-01-041-19/+57
|
* Add font_path helper methodSantiago Pastorino2012-01-031-0/+14
|
* Fixed documentation error in code examples from form_tag_helper.rbAlejandro Andrés2011-12-311-2/+2
|
* revise some doc changesVijay Dev2011-12-291-9/+4
|
* Fixed formatting of code examples in form_tag_helper.rbAlejandro Andrés2011-12-291-4/+4
|
* Check for response to `#last` instead of `#first`.Brian Rose2011-12-201-1/+1
|
* Ensure option for select helper responds to `#first` before comparison.Brian Rose2011-12-201-1/+1
|
* fix adding field_with_errors to date selects, closes #3487Vasiliy Ermolovich2011-12-203-11/+11
|
* 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
| | |