Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Remove 'size' attribute from number_field form helper fixes #3454 | Waseem Ahmad | 2011-11-04 | 1 | -0/+2 |
| | | | | | f.number_field generates <input type="number", size="30"../> which is invalid HTML5. See: http://dev.w3.org/html5/spec/Overview.html#number-state | ||||
* | Rename new method to_path to to_partial_path to avoid conflicts with ↵ | José Valim | 2011-08-01 | 1 | -4/+4 |
| | | | | File#to_path and similar. | ||||
* | Rename class method to_path to _to_path and make it explicit that it is an ↵ | José Valim | 2011-07-28 | 1 | -2/+2 |
| | | | | internal method. | ||||
* | Merge pull request #2034 from Casecommons/to_path | José Valim | 2011-07-28 | 1 | -2/+6 |
|\ | | | | | Allow ActiveModel-compatible instances to define their own partial paths | ||||
| * | Let ActiveModel instances define partial paths. | Grant Hutchins & Peter Jaros | 2011-07-25 | 1 | -2/+6 |
| | | | | | | | | | | | | Deprecate ActiveModel::Name#partial_path. Now you should call #to_path directly on ActiveModel instances. | ||||
* | | Merge pull request #2095 from dgeb/issue-2094 | Aaron Patterson | 2011-07-26 | 1 | -1/+1 |
|\ \ | |/ |/| | Fixes overriding of options[:html][:remote] in form_for() (Issue #2094) | ||||
| * | fixed problem in which options[:html][:remote] would be overridden in ↵ | Dan Gebhardt | 2011-07-15 | 1 | -1/+1 |
| | | | | | | | | form_for() - fixes #2094 | ||||
* | | 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 | -2/+2 |
| | | | | | | | | | | | | English to American English(according to Weber) | ||||
* | | little details seen while doing a pass through what's new in docrails | Xavier Noria | 2011-07-23 | 1 | -6/+6 |
| | | |||||
* | | Update form helper documentation to match code. | Paul Battley | 2011-07-19 | 1 | -2/+2 |
| | | | | | | | | Change d3cfee11 removed the automatically generated object_name_submit id attributes on form submit elements. This makes the documentation match. | ||||
* | | minor corrections in form helpers guide and api docs | Vijay Dev | 2011-07-20 | 1 | -2/+2 |
| | |