Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

SimpleForm hint: using key in the locale as attribute when in fact is a model #364

Closed
MarceloCajueiro opened this Issue Nov 21, 2011 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

MarceloCajueiro commented Nov 21, 2011

Hey!

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

Very confusing explanation.

Let's see a real example:

  simple_form:
    hints:
      splitting:
        interval: "em dias"
  <%= f.input :splitting %>

The hint is returned as interval: em dias

I created a test case for this: f3eabaf

Collaborator

rafaelfranca commented Nov 22, 2011

Hey mate! Thank you for the test case. I'll see this issue tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment