aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/form_options_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Typo and grammatical fixes [ci skip]Akshay Vishnoi2013-12-021-1/+1
|
* Revert "Merge pull request #13027 from akshay-vishnoi/f-refactor"Carlos Antonio da Silva2013-11-251-1/+1
| | | | | | | | | | | This reverts commit f4a5a9ea4d183f4102796215d4502c46dbe3e52b, reversing changes made to 7ccb482181ee6c47c765406009018a15172812de. Reason: The logic is different, the first call to #option_value_selected? is for the :selected option (the argument is the "selected" variable), the second call is for the :disabled option (the argument is the "disabled" variable).
* avoiding calling of #option_value_selected? two timesAkshay Vishnoi2013-11-251-1/+1
|
* Expand select documentation to tell about the blockRafael Mendonça França2013-09-231-0/+9
| | | | [ci skip]
* Ability to pass block to AV#select helperBogdan Gusiev2013-09-231-4/+4
| | | | | | | | Example: = select(report, "campaign_ids") do - available_campaigns.each do |c| %option{:data => {:tags => c.tags.to_json}, :value => c.id}= c.name
* RDoc tweaksXavier Noria2013-08-071-5/+10
|
* Leave the knowledge of boolean tag values to content tagCarlos Antonio da Silva2013-07-221-3/+3
| | | | | | content tag already knows which tags are boolean and the values that should generate them when a truthy value is passed, so leave this logic for it instead of duplicating when generating options tags.
* Use merge! to avoid a new hash and change some spots to 1.9 hash styleCarlos Antonio da Silva2013-07-221-7/+7
|
* syntax fix for f.select doc. [ci skip] .Karunakar (Ruby)2013-07-221-1/+1
|
* add support for html attributes to grouped_options_for_selectVasiliy Ermolovich2013-07-201-1/+5
|
* Remove passing the prompt to grouped_options_for_select as an argument, ↵kennyj2013-06-281-9/+2
| | | | because it was deprecated.
* Fix documentation for grouped_collection_select [ci skip]Artyom2013-06-271-1/+1
|
* Fix typo in docs. HABTM associations should use a pluralized namemariozig2013-06-251-1/+1
|
* Move actionpack/lib/action_view* into actionview/libPiotr Sarnacki2013-06-201-0/+832