Presenting form error messages


Instead of using the "error_messages_for 'user'" method, I've been manually imbedding the error messages in my form view ....

    <%= f.text_field :name %><br/>     <%= error_message_on(:user, :handle) %> # eg: "Please specify a username"

... which means I can no longer use error_messages_for because the grammer will be wrong.

Does anyone else do a similar thing? And have suggestions on how to make it "nicer".

Thanks :slight_smile: Jason