Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #8719 from pcasaretto/fix-actionview-doc-typo | Carlos Antonio da Silva | 2013-01-03 | 1 | -1/+1 |
| | | | | Fix typo on form_tag_helper.rb [ci skip] | ||||
* | [ci skip] Correct examples for form_tag helper. | DawidJanczak | 2012-11-14 | 1 | -2/+2 |
| | |||||
* | Merge pull request #7410 from sandeepravi/default_options_helper_value | Rafael Mendonça França | 2012-08-21 | 1 | -0/+1 |
| | | | | | | option_tags coerced to "" instead of nil Closes #7404 | ||||
* | escape select_tag :prompt values | Santiago Pastorino | 2012-08-09 | 1 | -2/+2 |
| | | | | CVE-2012-3463 | ||||
* | Revert "Deprecate `:confirm` in favor of `:data => { :confirm => 'Text' }` ↵ | Rafael Mendonça França | 2012-08-01 | 1 | -10/+0 |
| | | | | | | | | | | | option" Revert "Deprecate `:disable_with` in favor of `'data-disable-with'` option for `button_to` and `submit_tag` helpers." This reverts commit fc092a9cba5fceec38358072e50e09250cf58840. This reverts commit e9051e20aeb2c666db06b6217954737665878db7. This reverts commit d47d6e7eda3aa3e6aa28d0c17ac6801234bb97d1. This reverts commit 21141e777bdce8534e3755c8de7268324b3d8714. | ||||
* | Deprecate `:confirm` in favor of `:data => { :confirm => 'Text' }` option | Carlos Galdino | 2012-06-05 | 1 | -0/+6 |
| | | | | | | | | | | | | This deprecation applies to: `button_to` `button_tag` `image_submit_tag` `link_to` `submit_tag` As :confirm is an UI specific option is better to use the data attributes, teaching users about unobtrusive JavaScript and how Rails works with it. | ||||
* | Deprecate `:disable_with` for `button_tag` too | Carlos Galdino + Rafael Mendonça França | 2012-05-14 | 1 | -1/+3 |
| | |||||
* | Deprecate `:disable_with` in favor of `'data-disable-with'` option for ↵ | Carlos Galdino + Rafael Mendonça França | 2012-05-14 | 1 | -0/+2 |
| | | | | `button_to` and `submit_tag` helpers. | ||||
* | Cover one more case in auth_token and remote forms | Piotr Sarnacki | 2012-03-28 | 1 | -1/+1 |
| | | | | | If embedding auth_token in remote forms is off and we pass a value for auth_token it should respect it. | ||||
* | Added config.action_view.embed_authenticity_token_in_remote_forms | Piotr Sarnacki | 2012-03-28 | 1 | -8/+16 |
| | | | | | | | | There is a regression introduced in 16ee611fa, which breaks remote forms that should also work without javascript. This commit introduces config option that allows to configure this behavior defaulting to the old behavior (ie. include authenticity token in remote forms by default) | ||||
* | Allow you to force the authenticity_token to be rendered even on remote ↵ | David Heinemeier Hansson | 2012-03-14 | 1 | -5/+9 |
| | | | | forms if you pass true | ||||
* | Do not include the authenticity token in forms where remote: true as ajax ↵ | David Heinemeier Hansson | 2012-03-14 | 1 | -2/+9 |
| | | | | forms use the meta-tag value | ||||
* | Fixed documentation error in code examples from form_tag_helper.rb | Alejandro Andrés | 2011-12-31 | 1 | -2/+2 |
| | |||||
* | revise some doc changes | Vijay Dev | 2011-12-29 | 1 | -9/+4 |
| | |||||
* | Fixed formatting of code examples in form_tag_helper.rb | Alejandro Andrés | 2011-12-29 | 1 | -4/+4 |
| | |||||
* | Add missing type to number_field_tag documentation | Paul McMahon | 2011-10-28 | 1 | -1/+1 |
| | |||||
* | if ... nil? is more expensive than unless | Milan Dobrota | 2011-09-04 | 1 | -1/+1 |
| | |||||
* | Tiny refactor | Santiago Pastorino | 2011-08-25 | 1 | -4/+7 |
| | |||||
* | Merge pull request #2491 from waynn/fix_symbol | Santiago Pastorino | 2011-08-25 | 1 | -2/+2 |
|\ | | | | | fix destructive stringify_keys for label_tag | ||||
| * | fix destructive stringify_keys for label_tag | Waynn Lue | 2011-08-11 | 1 | -2/+2 |
| | | |||||
* | | Remove 'parameters_for_url' parameter from 'form_tag' method signature | Gonzalo Rodriguez and Leonardo Capillera | 2011-08-10 | 1 | -4/+4 |
|/ | | | | | If you use that parameter it will end calling to url_for with two arguments, which fails because url_for expects only one | ||||
* | fix stringify_keys destructive behavior for most FormTagHelper functions | Waynn Lue | 2011-08-03 | 1 | -4/+4 |
| | | | | add four new tests to verify that the other three methods that called stringify_keys! are fixed. verified that the tests break in master without the code patch. Closes #2355 | ||||
* | remove redundant calls to stringify_keys | Waynn Lue | 2011-07-29 | 1 | -2/+2 |
| | |||||
* | Missed a few instances of British English spelling in the last commit | Oemuer Oezkir | 2011-07-24 | 1 | -1/+1 |
| | | | | oh and obviously I meant according to Webster, not Weber | ||||
* | Changed a few instances of of words in the API docs written in British ↵ | Oemuer Oezkir | 2011-07-24 | 1 | -1/+1 |
| | | | | | | English to American English(according to Weber) | ||||
* | No need for a configuration option here. | José Valim | 2011-06-11 | 1 | -10/+2 |
| | |||||
* | Make utf8_enforcer_tag an overrideable method | David Lee | 2011-06-11 | 1 | -3/+7 |
| | |||||
* | Make utf8 enforcer param customizeable | David Lee | 2011-06-11 | 1 | -3/+10 |
| | |||||
* | There are no snowmen here | David Lee | 2011-06-11 | 1 | -3/+3 |
| | |||||
* | Remove extra white spaces on ActionPack docs. | Sebastian Martinez | 2011-05-23 | 1 | -1/+1 |
| | |||||
* | Fixed documentation of select tag; options with html need to pass through ↵ | Jason | 2011-05-08 | 1 | -6/+6 |
| | | | | | | html_safe https://github.com/rails/rails/issues/447 https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/6759-api-document-incorrect | ||||
* | fix select_tag to have the same behavior of select | Daniel Lopes | 2011-05-03 | 1 | -6/+16 |
| | |||||
* | Action Pack typos. | R.T. Lechow | 2011-03-05 | 1 | -1/+1 |
| | |||||
* | Add block support to button_tag helper | Tom Stuart | 2011-02-12 | 1 | -4/+9 |
| | | | | | | | | | | | | | | | | | | | As per the HTML 4.01 spec: Buttons created with the BUTTON element function just like buttons created with the INPUT element, but they offer richer rendering possibilities: the BUTTON element may have content. For example, a BUTTON element that contains an image functions like and may resemble an INPUT element whose type is set to "image", but the BUTTON element type allows content. Since rich content is the main purpose of the <button> element, it makes sense for the button_tag helper to accept a block. http://www.w3.org/TR/html401/interact/forms.html#edef-BUTTON http://dev.w3.org/html5/spec/the-button-element.html#the-button-element Signed-off-by: Santiago Pastorino and Emilio Tagua <santiago+emilioe@wyeworks.com> | ||||
* | Make type="submit" the default for button_tag helper | Tom Stuart | 2011-02-12 | 1 | -6/+4 |
| | | | | | | | | | | | | "submit" is the default value of the <button> element's type attribute according to the HTML 4.01 and the HTML5 draft specs, so if button_tag is going to have a default, type="submit" is a more sensible choice than type="button". http://www.w3.org/TR/html401/interact/forms.html#adef-type-BUTTON http://dev.w3.org/html5/spec/the-button-element.html#attr-button-type Signed-off-by: Santiago Pastorino and Emilio Tagua <santiago+emilioe@wyeworks.com> | ||||
* | button_tag should escape it content | Santiago Pastorino | 2011-01-12 | 1 | -1/+1 |
| | |||||
* | authenticity_token option for form_tag [#2988 state:resolved] | Jakub Kuźma | 2011-01-09 | 1 | -5/+17 |
| | |||||
* | HTML5 button_tag helper | Rizwan Reza | 2011-01-09 | 1 | -0/+50 |
| | | | | | | | | This tag is similar in nature to submit_tag, but allows more control. It also doesn't submit if submit type isn't used, allowing JavaScript to control the flow where required. For more information: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-button-element | ||||
* | eternal confusion! fixed doco to inform correctly | Aditya Sanghi | 2010-12-15 | 1 | -1/+1 |
| | |||||
* | Added :placeholder option to ActionView::Helpers::FormTagHelper text_field_tag | Ben Mills | 2010-12-13 | 1 | -0/+4 |
| | |||||
* | Added a space before "do" keyword | Akira Matsuda | 2010-11-28 | 1 | -1/+1 |
| | |||||
* | Call html_escape in ERB::Util module and don't mix it in in the helpers | Santiago Pastorino | 2010-10-18 | 1 | -1/+2 |
| | |||||
* | Refactor a bit this code to add data-confirm and data-disable-with | Santiago Pastorino | 2010-10-11 | 1 | -2/+2 |
| | |||||
* | Select tags with array options are deprecated, removing | Carlos Antonio da Silva | 2010-09-26 | 1 | -4/+0 |
| | |||||
* | Revert "It's snowing!" | wycats | 2010-08-18 | 1 | -1/+1 |
| | | | | This reverts commit e4283007d607454acf97301821ba1e1c417bdead. | ||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -8/+8 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | It's snowing! | Jeremy Kemper | 2010-08-12 | 1 | -1/+1 |
| | |||||
* | Replace snowman with utf8=✓ | wycats | 2010-08-11 | 1 | -1/+1 |
| | |||||
* | rename _snowman to _e | wycats | 2010-08-09 | 1 | -1/+1 |
| | |||||
* | Change returning with tap | Santiago Pastorino | 2010-07-25 | 1 | -2/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> |