Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |