On 28 Oct 2008, at 09:42, Daniel N wrote:
> <%= error_messages_for @obj_that_has_errors %> Hi Daniel I know what error_messages_for does, but the docs[1] say it has an option, :before[2], that presumably can be used like this: <%= error_messages_for @obj_that_has_errors, :before => false %> I just wondered if anyone has an example of this in action. Thanks Ashley [1] http://merbivore.com/documentation/0.9.9/doc/rdoc/merb-helpers/index.html?a=M000396&name=error_messages_for [2] before<Boolean>: Display the errors before or inside of the form -- http://www.patchspace.co.uk/ http://aviewfromafar.net/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
