Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use if/else | Rafael Mendonça França | 2014-06-30 | 1 | -2/+5 |
| | | | | | Since we are using both branches of the code is preferable to use if/else over the early return. | ||||
* | Add String support for min/max attributes on DatetimeField | Todd Bealmear | 2014-06-30 | 1 | -2/+7 |
| | |||||
* | In actionview, eliminate calls to tag that use html_safe parameter values. ↵ | Paul Grayson | 2014-06-13 | 1 | -1/+0 |
| | | | | This is generally unnecessary, since tag handles string quoting, except in one case (utf8_enforcer_tag) where we want to specify the encoding ourselves. | ||||
* | Include label value in i18n attribute lookup | Joshua Cody | 2014-05-06 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | Previously, only the object and method name from the label tag were used when looking up the translation for a label. If a value is given for the label, this ought to be additionally used. The following: # form.html.erb <%= form_for @post do |f| %> <%= f.label :type, value: "long" %> <% end %> # en.yml en: activerecord: attributes: post/long: "Long-form Post" Used to simply return "long", but now it will return "Long-form Post". | ||||
* | `collection_check_boxes` respects `:index` option for the hidden filed name. | Vasiliy Ermolovich | 2014-04-14 | 1 | -4/+13 |
| | | | | closes #14147 | ||||
* | CollectionHelpers now accepts a readonly option | Mauro George | 2014-04-12 | 1 | -1/+1 |
| | |||||
* | Merge pull request #12662 from nashby/include-hidden-collection | Rafael Mendonça França | 2014-03-15 | 1 | -3/+7 |
|\ | | | | | | | | | | | | | | | add include_hidden option to collection_check_boxes helper Conflicts: actionview/CHANGELOG.md actionview/test/template/form_collections_helper_test.rb | ||||
| * | add include_hidden option to collection_check_boxes helper | Vasiliy Ermolovich | 2013-10-27 | 1 | -3/+7 |
| | | |||||
* | | Fix ActionView label translation for more than 10 nested elements | Vladimir Krylov | 2014-02-24 | 1 | -1/+1 |
| | | |||||
* | | Label only accepts `:index` and `:namespace` attributes from the input | Andriel Nuernberg | 2013-12-05 | 2 | -2/+1 |
|/ | |||||
* | Use the given name in html_options for the hidden field in ↵ | Angel N. Sciortino | 2013-09-24 | 1 | -1/+2 |
| | | | | collection_check_boxes | ||||
* | Fix some edge cases for AV `select` helper with `:selected` option | Bogdan Gusiev | 2013-09-23 | 1 | -1/+2 |
| | |||||
* | Ability to pass block to AV#select helper | Bogdan Gusiev | 2013-09-23 | 1 | -1/+2 |
| | | | | | | | | Example: = select(report, "campaign_ids") do - available_campaigns.each do |c| %option{:data => {:tags => c.tags.to_json}, :value => c.id}= c.name | ||||
* | handle `:namespace` form option in collection labels | Vasiliy Ermolovich | 2013-09-22 | 2 | -1/+3 |
| | |||||
* | text_area should handle nil value option like text_field | Joel Cogen | 2013-07-24 | 2 | -3/+3 |
| | |||||
* | Clean the code a bit | Santiago Pastorino | 2013-06-29 | 2 | -2/+2 |
| | |||||
* | fetch value(s) from stringified options | Jon Rowe | 2013-06-29 | 2 | -2/+2 |
| | |||||
* | Move actionpack/lib/action_view* into actionview/lib | Piotr Sarnacki | 2013-06-20 | 33 | -0/+958 |