Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Properly deprecate the block argument in AV FormBuilder | Carlos Antonio da Silva | 2012-03-23 | 1 | -3/+9 |
| | | | | | | | | | Commit 56089ca986c767763f29159c8de0aa1ebabfd4d2 introduced a backward incompatible change by changing the method signature of the FormBuilder. This brings back the same method signature warning in case someone gives a block to the builder. More info: https://github.com/rails/rails/commit/56089ca986c767763f29159c8de0aa1ebabfd4d2#commitcomment-1116166 | ||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-03-13 | 1 | -66/+138 |
|\ | |||||
| * | Revised explanation of fields_for usage. | Mark Thomson | 2012-03-11 | 1 | -10/+39 |
| | | | | | | | | Minor tweak to previous comments on form_for and form_helper.rb preamble | ||||
| * | Added clarification to description of how initial form values are derived. | Mark Thomson | 2012-03-10 | 1 | -1/+2 |
| | | |||||
| * | Revised explanation of form_for usage | Mark Thomson | 2012-03-10 | 1 | -53/+84 |
| | | |||||
| * | Additional preamble comments in form_helper.rb. | Mark Thomson | 2012-03-08 | 1 | -7/+18 |
| | | |||||
| * | Small correction to the description of the role of the form builder. | Mark Thomson | 2012-03-08 | 1 | -1/+1 |
| | | | | | | | | (endpoints are generated by form_for without reference to the form builder) | ||||
* | | Fix unintended removal of 'cols' from a text_area example. | Philip Arndt | 2012-03-12 | 1 | -1/+1 |
| | | |||||
* | | Fixes #5324 by removing default size options from input:text and default ↵ | Philip Arndt | 2012-03-10 | 1 | -15/+15 |
|/ | | | | cols and rows options from textarea. | ||||
* | simplify namespace assignment in fields_for | Sergey Nartimov | 2012-03-02 | 1 | -1/+1 |
| | |||||
* | uses PATCH for the forms of persisted records, and routes PATCH and PUT to ↵ | Xavier Noria | 2012-02-24 | 1 | -1/+1 |
| | | | | the update action of resources | ||||
* | Add config.default_method_for_update to support PATCH | David Lee | 2012-02-22 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | PATCH is the correct HTML verb to map to the #update action. The semantics for PATCH allows for partial updates, whereas PUT requires a complete replacement. Changes: * adds config.default_method_for_update you can set to :patch * optionally use PATCH instead of PUT in resource routes and forms * adds the #patch verb to routes to detect PATCH requests * adds #patch? to Request * changes documentation and comments to indicate support for PATCH This change maintains complete backwards compatibility by keeping :put as the default for config.default_method_for_update. | ||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-02-18 | 1 | -5/+5 |
|\ | |||||
| * | Update f.button docs to reflect real label implementation | Carlos Antonio da Silva | 2012-02-14 | 1 | -5/+5 |
| | | |||||
* | | Add HTML5 input[type="date"] helper | Olek Janiszewski | 2012-02-12 | 1 | -0/+18 |
|/ | |||||
* | Refactor FormBuilder arguments and default config | Carlos Antonio da Silva | 2012-01-18 | 1 | -10/+7 |
| | | | | | | | | | | * Do not reopen AV::Base to define default form builder Inside the load hook we are already in AV::Base context. * Do not pass the given block to the form builder The block is evaluated in fields_for context using capture, with the builder as argument. This means we do not need to give the block to the FormBuilder itself. | ||||
* | Use block syntax to avoid code duplication | Rafael Mendonça França | 2012-01-17 | 1 | -3/+3 |
| | |||||
* | Do not need of ActionView::Helpers scope since we are inside | Rafael Mendonça França | 2012-01-17 | 1 | -14/+14 |
| | | | | ActionView::Helpers | ||||
* | Remove unused code | Rafael Mendonça França | 2012-01-17 | 1 | -39/+0 |
| | |||||
* | Cleanup | Rafael Mendonça França | 2012-01-17 | 1 | -72/+1 |
| | |||||
* | Remove unused code | Rafael Mendonça França | 2012-01-17 | 1 | -31/+0 |
| | |||||
* | Extract RangeField | Rafael Mendonça França | 2012-01-17 | 1 | -11/+1 |
| | |||||
* | Extract NumberField | Rafael Mendonça França | 2012-01-17 | 1 | -1/+1 |
| | |||||
* | Extract EmailField | Rafael Mendonça França | 2012-01-17 | 1 | -1/+1 |
| | |||||
* | Extract UrlField | Rafael Mendonça França | 2012-01-17 | 1 | -1/+1 |
| | |||||
* | Extract TelField | Rafael Mendonça França | 2012-01-17 | 1 | -1/+1 |
| | |||||
* | Extract SearchField | Rafael Mendonça França | 2012-01-17 | 1 | -14/+1 |
| | |||||
* | Extract RadioButton | Rafael Mendonça França | 2012-01-17 | 1 | -21/+1 |
| | |||||
* | Extract CheckBox | Rafael Mendonça França | 2012-01-17 | 1 | -40/+1 |
| | |||||
* | Extract TextArea | Rafael Mendonça França | 2012-01-17 | 1 | -13/+1 |
| | |||||
* | Extract FileField | Rafael Mendonça França | 2012-01-17 | 1 | -1/+1 |
| | |||||
* | Extract HiddenField | Rafael Mendonça França | 2012-01-17 | 1 | -1/+1 |
| | |||||
* | Extract PasswordField | Rafael Mendonça França | 2012-01-17 | 1 | -1/+1 |
| | |||||
* | Rename classes | Rafael Mendonça França | 2012-01-17 | 1 | -2/+2 |
| | |||||
* | Extract TextFieldTag | Rafael Mendonça França | 2012-01-17 | 1 | -1/+1 |
| | |||||
* | Extract LabelTag | Rafael Mendonça França | 2012-01-17 | 1 | -54/+2 |
| | |||||
* | Do not check if record is an Array twice | Rafael Mendonça França | 2012-01-12 | 1 | -4/+3 |
| | |||||
* | don't set the hidden checkbox value if it's nil | Damien Mathieu | 2012-01-06 | 1 | -1/+1 |
| | |||||
* | check_box helper with :disabled => true generates disabled hidden field. ↵ | Tadas Tamošauskas | 2012-01-05 | 1 | -1/+1 |
| | | | | fixes #1953 | ||||
* | No need of html_safe here | Rafael Mendonça França | 2012-01-04 | 1 | -1/+1 |
| | | | | | tag helper always return a html safe string and concat two html safe strings always return a html safe string | ||||
* | fix use of FormBuilder.field_helpers | Sergey Nartimov | 2012-01-02 | 1 | -1/+1 |
| | | | | it is array of symbols now | ||||
* | removes the compatibility method Module#instance_method_names | Xavier Noria | 2011-12-25 | 1 | -2/+1 |
| | |||||
* | fix adding field_with_errors to date selects, closes #3487 | Vasiliy Ermolovich | 2011-12-20 | 1 | -1/+2 |
| | |||||
* | Add button_tag support to ActionView::Helpers::FormBuilder. | Will Farrington | 2011-12-11 | 1 | -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 id | Vasiliy Ermolovich | 2011-12-04 | 1 | -2/+2 |
| | |||||
* | minor typo fix | Vijay Dev | 2011-12-01 | 1 | -1/+1 |
| | |||||
* | add namespace options to form_for | Vasiliy Ermolovich | 2011-11-27 | 1 | -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 erb | lest | 2011-11-27 | 1 | -2/+2 |
| | |||||
* | Fix impractical I18n lookup in nested fields_for | Alexander Uvarov | 2011-11-17 | 1 | -1/+9 |
| | |||||
* | Docs cosmetic fixes in Action View form_helper.rb | Alexey Vakhov | 2011-11-06 | 1 | -2/+2 |
| |