Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | form_with/fields: Don't output ids by default | Kasper Timm Hansen | 2016-12-13 | 1 | -0/+4 |
| | | | | | | | | | | | Continuing 67f81cc where we decided not to output ids by default in the new form helpers. Went with @dhh's suggestion of just requiring ids on fields being labelled: https://github.com/rails/rails/issues/25197#issuecomment-231797117 Seems okay enough. | ||||
* | Rename method to make explicit its intention | Rafael Mendonça França | 2015-02-05 | 1 | -1/+1 |
| | | | | call is too generic | ||||
* | Use kwags to make the argument meaning explicit | Rafael Mendonça França | 2015-02-05 | 1 | -1/+1 |
| | |||||
* | Reduce duplication when generating translations | Maarten Claes | 2015-01-22 | 1 | -17/+3 |
| | |||||
* | Convert with `to_model` before calling ActiveModel methods on `object` | Maarten Claes | 2015-01-22 | 1 | -3/+7 |
| | |||||
* | provide a builder for form labels to customize wrapping around I18n content | Alex Robbin | 2014-08-20 | 1 | -22/+46 |
| | |||||
* | Use #model_name on instances instead of classes | Amiel Martin | 2014-06-24 | 1 | -1/+1 |
| | | | | | | This allows rails code to be more confdent when asking for a model name, instead of having to ask for the class. Rails core discussion here: https://groups.google.com/forum/#!topic/rubyonrails-core/ThSaXw9y1F8 | ||||
* | 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". | ||||
* | 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 | 1 | -1/+0 |
| | |||||
* | handle `:namespace` form option in collection labels | Vasiliy Ermolovich | 2013-09-22 | 1 | -0/+1 |
| | |||||
* | Move actionpack/lib/action_view* into actionview/lib | Piotr Sarnacki | 2013-06-20 | 1 | -0/+65 |