aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/form_tag_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove erroneous form_tag option docsT.J. Schuck2014-08-221-1/+0
| | | | | | | This is true of the first param (url_for_options), not of the second options param which is being documented here. [ci skip]
* Clarify that unknown keys will become HTML attrsT.J. Schuck2014-08-221-0/+1
| | | | | | Docs for all the other form tag helpers in this file already clarify this. [ci skip]
* [ci skip] correct output for asset_helper methodsKuldeep Aggarwal2014-06-161-5/+5
| | | | see cc255d3
* Merge pull request #15693 from pdg137/enforce_utf8Matthew Draper2014-06-141-1/+4
|\ | | | | | | In actionview, eliminate calls to tag that use html_safe parameter values.
| * In actionview, eliminate calls to tag that use html_safe parameter values. ↵Paul Grayson2014-06-131-2/+4
|/ | | | This is generally unnecessary, since tag handles string quoting, except in one case (utf8_enforcer_tag) where we want to specify the encoding ourselves.
* document include_blank's usage with a string [ci skip]Greg Molnar2014-06-051-1/+4
|
* call `capture` fewer times from `form_for`Aaron Patterson2014-06-021-3/+2
|
* update docs to include html id for select_tagOmar Ismail2014-05-231-2/+2
|
* Form_tag_helper grammar fix [skip ci]Jon Atack2014-05-021-1/+1
|
* Add documentation to select_tag for :selected optionRizwan Reza2014-04-301-1/+5
|
* [ci skip] Added example for number_field_tag methodZENATI YASSINE2014-04-191-0/+28
|
* [ci skip] Added example for date_field_tag methodZENATI YASSINE2014-04-191-0/+13
|
* [ci skip] Added example for email_field_tag methodZENATI YASSINE2014-04-191-0/+13
|
* Merge pull request #14738 from tilsammans/pull/11407Rafael Mendonça França2014-04-171-3/+5
|\ | | | | | | | | | | | | Remove wrapping div with inline styles for hidden form fields. Conflicts: actionview/CHANGELOG.md
| * Remove wrapping div with inline styles for hidden form fields.Joost Baaij2014-04-141-3/+5
| | | | | | | | | | | | We are dropping HTML 4.01 and XHTML strict compliance since input tags directly inside a form are valid HTML5, and the absense of inline styles help in validating for Content Security Policy.
* | [ci skip] Added examples for url_field_tag methodZENATI YASSINE2014-04-161-0/+13
| |
* | [ci skip] Added examples for telephone_field_tag methodZENATI YASSINE2014-04-161-0/+13
| |
* | [ci skip] Added examples for search_field_tag methodZENATI YASSINE2014-04-161-0/+13
| |
* | [ci skip] Added examples for color_field_tag methodZENATI YASSINE2014-04-161-0/+13
|/
* Use 1.9 style hash on docs [ci skip]Carlos Antonio da Silva2014-03-041-1/+1
|
* Simplify handling of defaults/options in button_tagCarlos Antonio da Silva2014-03-041-4/+1
| | | | | | | | | There's no need to rely on Active Support's Hash#reverse_merge for simple cases with default values, since we can just merge from the default rather than reverse merge from the options. This also avoids the creation of one extra hash object by moving to a Hash#merge! call.
* remove private method and rewrite into more precise notationSergey Prikhodko2014-03-041-12/+12
|
* rollback to private methodSergey Prikhodko2014-03-031-5/+9
|
* cleanup and move extracted method right into the helperSergey Prikhodko2014-03-031-9/+5
|
* fix content_or_options to be replaced by options and set to nilSergey Prikhodko2014-03-031-1/+6
|
* fix indentationsSergey Prikhodko2014-03-031-4/+3
|
* fix form buttonSergey Prikhodko2014-03-031-5/+2
|
* fix button tag without optionsSergey Prikhodko2014-03-031-2/+2
|
* fix accept nil optionsSergey Prikhodko2014-03-031-3/+5
|
* fixes default attributes for button_tagSergey Prikhodko2014-03-031-7/+13
|
* Switched to use `display:none` in extra_tags_for_form method.Gaelian Ditchburn2014-01-051-1/+1
| | | | | | | | | | | | | The use of `display:inline` with the content_tag call in the extra_tags_for_form method potentially causes display issues with some browsers, namely Internet Explorer. IE's behaviour of not collapsing the line height on divs with ostensibly no content means that the automatically added div containing the hidden authenticity_token, utf8 and _method form input tags may interfere with other visible form elements in certain circumstances. The use of `display:none` rather than `display:inline` fixes this problem. Fixes #6403
* Fix typo in docs, missing colon in Symbol literal [ci skip]Semyon Perepelitsa2013-12-111-1/+1
|
* Added an `enforce_utf8` hash option for `form_tag` methodTakayuki Matsubara2013-07-071-1/+3
| | | | | | | | | | | | | | | | | | Control to output a hidden input tag with name `utf8` without monkey patching Before: form_tag # => '<form>..<input name="utf8" type="hidden" value="&#x2713;" />..</form>' After: form_tag # => '<form>..<input name="utf8" type="hidden" value="&#x2713;" />..</form>' form_tag({}, { :enforce_utf8 => false }) # => '<form>....</form>'
* Move actionpack/lib/action_view* into actionview/libPiotr Sarnacki2013-06-201-0/+744