This project is archived and is in readonly mode.

#4310 ✓invalid
Mike (at coverallcrew)

I18n labels don't appear in error_messages_for

Reported by Mike (at coverallcrew) | April 2nd, 2010 @ 04:56 AM | in 3.0.2

When a label is defined in locales file it appears as a label on the form, but the error_messages_for helper does not reflect this name. It still shows the human readable name based on the attribute.

Comments and changes to this ticket

  • José Valim

    José Valim April 10th, 2010 @ 12:54 PM

    • State changed from “new” to “invalid”
    • Assigned user set to “José Valim”
    • Milestone cleared.

    The label is supposed to be used in labels. Many people like to use: "Type your name here:" and showing "Type your name here" in error messages would be ugly (if you want to change both, change the human name). Anyway, error_messages_for was removed from the framework.

  • Jeremy Kemper

    Jeremy Kemper October 15th, 2010 @ 11:01 PM

    • Milestone set to 3.0.2
    • Importance changed from “” to “Low”

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages