Skip to content

jaredonline/inline-error-messages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InlineErrorMessages

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages