Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | docs, cleanup mixed indents within `form_options_helper.rb` RDoc. | Yves Senn | 2014-07-29 | 1 | -81/+81 |
| | | | | | | | [ci skip] This fixes the broken code block rendering and indents the examples within the parameter list. | ||||
* | docs, `select` and friends with `multiple=true` include a blank string. | Yves Senn | 2014-07-17 | 1 | -5/+3 |
| | | | | | | | | | | | | | | [Jonas Baumann & Yves Senn] The submitted params from a select with `multiple: true` look as follows: ``` {post: {category: [""]}} {post: {category: ["", "Category 1", "Category 2"]}} ``` This is a follow up to #1552. | ||||
* | Do not overwrite selected and disabled attributes | Laura Paredes | 2014-03-30 | 1 | -2/+2 |
| | |||||
* | Typo and grammatical fixes [ci skip] | Akshay Vishnoi | 2013-12-02 | 1 | -1/+1 |
| | |||||
* | Revert "Merge pull request #13027 from akshay-vishnoi/f-refactor" | Carlos Antonio da Silva | 2013-11-25 | 1 | -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 times | Akshay Vishnoi | 2013-11-25 | 1 | -1/+1 |
| | |||||
* | Expand select documentation to tell about the block | Rafael Mendonça França | 2013-09-23 | 1 | -0/+9 |
| | | | | [ci skip] | ||||
* | Ability to pass block to AV#select helper | Bogdan Gusiev | 2013-09-23 | 1 | -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 tweaks | Xavier Noria | 2013-08-07 | 1 | -5/+10 |
| | |||||
* | Leave the knowledge of boolean tag values to content tag | Carlos Antonio da Silva | 2013-07-22 | 1 | -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 style | Carlos Antonio da Silva | 2013-07-22 | 1 | -7/+7 |
| | |||||
* | syntax fix for f.select doc. [ci skip] . | Karunakar (Ruby) | 2013-07-22 | 1 | -1/+1 |
| | |||||
* | add support for html attributes to grouped_options_for_select | Vasiliy Ermolovich | 2013-07-20 | 1 | -1/+5 |
| | |||||
* | Remove passing the prompt to grouped_options_for_select as an argument, ↵ | kennyj | 2013-06-28 | 1 | -9/+2 |
| | | | | because it was deprecated. | ||||
* | Fix documentation for grouped_collection_select [ci skip] | Artyom | 2013-06-27 | 1 | -1/+1 |
| | |||||
* | Fix typo in docs. HABTM associations should use a pluralized name | mariozig | 2013-06-25 | 1 | -1/+1 |
| | |||||
* | Move actionpack/lib/action_view* into actionview/lib | Piotr Sarnacki | 2013-06-20 | 1 | -0/+832 |