Merge pull request #1467 from artfuldodger/patch-2

Fix readme typo
This commit is contained in:
Rafael França 2017-02-22 12:34:10 -05:00 committed by GitHub
commit 75ae2207bf
1 changed files with 1 additions and 1 deletions

View File

@ -812,7 +812,7 @@ object itself. Thus, similarly, if a form for an `Admin::User` object is defined
`simple_form_for @admin_user, as: :some_user`, **Simple Form** will look for translations
under `some_user` instead of `admin_user`.
When translate `simple_fields_for` attributes be sure to use the same name you pass to it, e.g. `simple_fields_for :posts` should be placed under `posts` not `post`:
When translating `simple_fields_for` attributes be sure to use the same name you pass to it, e.g. `simple_fields_for :posts` should be placed under `posts` not `post`:
```yaml
en: