Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
i18n keyname for f.association #679
Suspect I'm missing something obvious here.
In the model:
On the view (haml):
= f.input :title = f.input :soloists = f.association :composer
In the translation file:
labels: defaults: title: 'Song Title' soloists: 'Soloist(s)' composer: 'Composer Name'
For the two text fields I get the correct i18n name
Am not seeing what key needs to be given to match for form fields made with f.association - would love someone to point me in the right direction :)
Versions - rails 3.2.8, simple_form 2.0.4