aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/form_tag_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add several HTML5 input helpersCarlos Galdino2012-05-211-0/+44
| | | | | | | | | | | | The input types added are: - input[type="month"] - input[type="week"] - input[type="datetime"] - input[type="datetime-local"]
* Add HTML5 input[type="color"] helperCarlos Galdino2012-05-211-0/+8
|
* Add HTML5 input[type="time"] helperAlex Soulim2012-05-181-0/+11
|
* Revert "Revert "Remove `:disable_with` in favor of `'data-disable-with'` ↵José Valim2012-05-151-21/+3
| | | | | | | | | option from `submit_tag`, `button_tag` and `button_to` helpers."" Finally remove `:disable_with` but use `:data => { :disable_with => ... }` in examples to show off a better API (which looks nicer in Ruby 1.9) This reverts commit a5c38a9c087e33d36397afc496be7c8e01b37ef0.
* Revert "Remove `:disable_with` in favor of `'data-disable-with'` option from ↵José Valim2012-05-151-3/+21
| | | | | | | | | | `submit_tag`, `button_tag` and `button_to` helpers." `disable_with:` is much easier to type than `"data-disable-with" =>`, and the fact it uses "data-disable-with" => is an implementation concern, it should not affect the public API. This reverts commit 683fc4db00f496e5225928afb4d4e932e0fcdc48.
* Remove `:disable_with` in favor of `'data-disable-with'` option from ↵Carlos Galdino + Rafael Mendonça França2012-05-141-21/+3
| | | | `submit_tag`, `button_tag` and `button_to` helpers.
* Revert "Merge pull request #6142 from spartan-developer/master"José Valim2012-05-121-1/+3
| | | | | This reverts commit 667d0bdd90ef6e6b691f0cc4cf5535b8da69f248, reversing changes made to 4ae6bab6bb02c9390188a49f9a749400f6a0ac94.
* Merge pull request #6142 from spartan-developer/masterJosé Valim2012-05-121-3/+1
|\ | | | | refactored extracting :size => 'XxY' into an extract_size! method
| * refactored extracting :size => 'XxY' into an extract_size! methodNicholas Yianilos2012-05-031-3/+1
| |
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-05-081-0/+3
|\ \
| * | Add example for image_submit_tag with confirmation. [ci skip]Edward Tsech2012-05-081-0/+3
| | |
* | | Fix typo in submit_tag helper documentationAlex Soulim2012-05-061-1/+1
|/ /
* / Fix form tag with non GET/POST method exampleAlexey Vakhov2012-05-021-1/+1
|/
* Merge pull request #5182 from castlerock/content_tag_instead_stringXavier Noria2012-04-051-2/+2
|\ | | | | content_tag used instead string for option
| * content_tag used instead string for optionVishnu Atrai2012-02-261-2/+2
| |
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-04-011-1/+1
|\ \
| * | Fix quotes at select_tag examplesAnderson Dias2012-03-281-1/+1
| | |
* | | Cover one more case in auth_token and remote formsPiotr Sarnacki2012-03-281-1/+1
| | | | | | | | | | | | | | | If embedding auth_token in remote forms is off and we pass a value for auth_token it should respect it.
* | | config.action_view.embed_authenticity_token_in_remote_forms is true by defaultPiotr Sarnacki2012-03-281-1/+1
| | | | | | | | | | | | | | | | | | | | | Changed default value for `config.action_view.embed_authenticity_token_in_remote_forms` to `false`. This change breaks remote forms that need to work also without javascript, so if you need such behavior, you can either set it to `true` or explicitly pass `:authenticity_token => true` in form options
* | | Added config.action_view.embed_authenticity_token_in_remote_formsPiotr Sarnacki2012-03-281-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) Conflicts: actionpack/CHANGELOG.md
* | 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
* | Allow fieldsets to be created without a block.Ben Pickles2012-03-011-2/+1
|/
* Refactored two methods to use delete with a blockRuben Fonseca2012-02-211-1/+1
|
* Add HTML5 input[type="date"] helperOlek Janiszewski2012-02-121-0/+8
|
* Extract method_tagRafael Mendonça França2012-01-191-1/+1
|
* Refactor button_to helper to use token_tag methodRafael Mendonça França2012-01-191-9/+0
|
* No need to call html_safe since concat two SaffeBuffers always results in a ↵Rafael Mendonça França2012-01-171-1/+1
| | | | SafeBuffer
* No need to create a SafeBuffer since form_tag_html always rerturn a SafeBufferRafael Mendonça França2012-01-171-2/+1
|
* Fixed documentation error in code examples from form_tag_helper.rbAlejandro Andrés2011-12-301-2/+2
|
* revise some doc changesVijay Dev2011-12-291-9/+4
|
* Fixed formatting of code examples in form_tag_helper.rbAlejandro Andrés2011-12-281-4/+4
|
* Add missing type to number_field_tag documentationPaul McMahon2011-10-281-1/+1
|
* if ... nil? is more expensive than unlessMilan Dobrota2011-09-041-1/+1
|
* 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
| |
* | Remove 'parameters_for_url' parameter from 'form_tag' method signatureGonzalo Rodriguez and Leonardo Capillera2011-08-101-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 functionsWaynn Lue2011-08-031-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_keysWaynn Lue2011-07-291-2/+2
|
* Missed a few instances of British English spelling in the last commitOemuer Oezkir2011-07-241-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 Oezkir2011-07-241-1/+1
| | | | | | English to American English(according to Weber)
* No need for a configuration option here.José Valim2011-06-111-10/+2
|
* Make utf8_enforcer_tag an overrideable methodDavid Lee2011-06-111-3/+7
|
* Make utf8 enforcer param customizeableDavid Lee2011-06-111-3/+10
|
* There are no snowmen hereDavid Lee2011-06-111-3/+3
|
* Remove extra white spaces on ActionPack docs.Sebastian Martinez2011-05-231-1/+1
|
* Fixed documentation of select tag; options with html need to pass through ↵Jason2011-05-081-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 selectDaniel Lopes2011-05-031-6/+16
|
* Action Pack typos.R.T. Lechow2011-03-051-1/+1
|