plataformatec/simple_form — Issue #364: SimpleForm hint: using key in the locale as attribute when in fact is a model
Author: MarceloCajueiro
Created: 2011-11-21 23:37:45+00:00
State: open

Hi there!

When I add a hint to a attribute of a particular model and I use a association input for this model the i18n is mistakenly displayed;

Very confusing explanation.

Let's see a real example:

```yaml
simple_form:
hints:
splitting:
interval: "em dias"
```

```erb
<%= f.input :splitting %>
```

The hint is returned as `interval: em dias`

I created a test case for this: f3eabaf06e8dcd96f3ef26b409efc3832c193af0