Created to replace the default ActionView::Helpers::InstanceTag.error_wrapping with a method that adds inline errors to each non-label and non-hidden form element.
Outputs HTML like:
<span class="errorLabel">
<label for="name">Name</label>
</span>
<div class="formError">
<input type="text" value="" size="30" name="name" id="name">
<span class="errorMessages">can't be blank</span>
</div>
Copyright (c) 2010 [Jared McFarland], released under the MIT license