error_messages_for

You'll need to use f.error_messages and the form builder:

http://ramblingsonrails.com/how-to-make-a-custom-form-builder-in-rails

Ramon Tayag