aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/form_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Refactor FormBuilder arguments and default configCarlos Antonio da Silva2012-01-181-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 duplicationRafael Mendonça França2012-01-171-3/+3
|
* Do not need of ActionView::Helpers scope since we are insideRafael Mendonça França2012-01-171-14/+14
| | | | ActionView::Helpers
* Remove unused codeRafael Mendonça França2012-01-171-39/+0
|
* CleanupRafael Mendonça França2012-01-171-72/+1
|
* Remove unused codeRafael Mendonça França2012-01-171-31/+0
|
* Extract RangeFieldRafael Mendonça França2012-01-171-11/+1
|
* Extract NumberFieldRafael Mendonça França2012-01-171-1/+1
|
* Extract EmailFieldRafael Mendonça França2012-01-171-1/+1
|
* Extract UrlFieldRafael Mendonça França2012-01-171-1/+1
|
* Extract TelFieldRafael Mendonça França2012-01-171-1/+1
|
* Extract SearchFieldRafael Mendonça França2012-01-171-14/+1
|
* Extract RadioButtonRafael Mendonça França2012-01-171-21/+1
|
* Extract CheckBoxRafael Mendonça França2012-01-171-40/+1
|
* Extract TextAreaRafael Mendonça França2012-01-171-13/+1
|
* Extract FileFieldRafael Mendonça França2012-01-171-1/+1
|
* Extract HiddenFieldRafael Mendonça França2012-01-171-1/+1
|
* Extract PasswordFieldRafael Mendonça França2012-01-171-1/+1
|
* Rename classesRafael Mendonça França2012-01-171-2/+2
|
* Extract TextFieldTagRafael Mendonça França2012-01-171-1/+1
|
* Extract LabelTagRafael Mendonça França2012-01-171-54/+2
|
* Do not check if record is an Array twiceRafael Mendonça França2012-01-121-4/+3
|
* don't set the hidden checkbox value if it's nilDamien Mathieu2012-01-061-1/+1
|
* check_box helper with :disabled => true generates disabled hidden field. ↵Tadas Tamošauskas2012-01-051-1/+1
| | | | fixes #1953
* No need of html_safe hereRafael Mendonça França2012-01-041-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_helpersSergey Nartimov2012-01-021-1/+1
| | | | it is array of symbols now
* removes the compatibility method Module#instance_method_namesXavier Noria2011-12-251-2/+1
|
* fix adding field_with_errors to date selects, closes #3487Vasiliy Ermolovich2011-12-201-1/+2
|
* Add button_tag support to ActionView::Helpers::FormBuilder.Will Farrington2011-12-111-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 idVasiliy Ermolovich2011-12-041-2/+2
|
* minor typo fixVijay Dev2011-12-011-1/+1
|
* add namespace options to form_forVasiliy Ermolovich2011-11-271-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 erblest2011-11-271-2/+2
|
* Fix impractical I18n lookup in nested fields_forAlexander Uvarov2011-11-171-1/+9
|
* Docs cosmetic fixes in Action View form_helper.rbAlexey Vakhov2011-11-061-2/+2
|
* Remove 'size' attribute from number_field form helper fixes #3454Waseem Ahmad2011-11-041-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é Valim2011-08-011-4/+4
| | | | File#to_path and similar.
* Rename class method to_path to _to_path and make it explicit that it is an ↵José Valim2011-07-281-2/+2
| | | | internal method.
* Merge pull request #2034 from Casecommons/to_pathJosé Valim2011-07-281-2/+6
|\ | | | | Allow ActiveModel-compatible instances to define their own partial paths
| * Let ActiveModel instances define partial paths.Grant Hutchins & Peter Jaros2011-07-251-2/+6
| | | | | | | | | | | | Deprecate ActiveModel::Name#partial_path. Now you should call #to_path directly on ActiveModel instances.
* | Merge pull request #2095 from dgeb/issue-2094Aaron Patterson2011-07-261-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 Gebhardt2011-07-151-1/+1
| | | | | | | | form_for() - fixes #2094
* | 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-2/+2
| | | | | | | | | | | | English to American English(according to Weber)
* | little details seen while doing a pass through what's new in docrailsXavier Noria2011-07-231-6/+6
| |
* | Update form helper documentation to match code.Paul Battley2011-07-191-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 docsVijay Dev2011-07-201-2/+2
| |
* | examples for telephone_field, url_field and email_fieldRay Baxter2011-07-171-0/+12
| |
* | document options to search_fieldRay Baxter2011-07-171-1/+22
| |
* | use correct in descriptionRay Baxter2011-07-171-1/+1
|/