Skip to content

Instantly share code, notes, and snippets.

@superp
Created April 16, 2014 06:54
Show Gist options
  • Save superp/10819821 to your computer and use it in GitHub Desktop.
Save superp/10819821 to your computer and use it in GitHub Desktop.
Rails inputs errors structure
<!-- input without error -->
<input type="text" />
<!-- input with error -->
<div class="input_holder_error">
<input type="text" />
<span class="validation-error">Some error</span>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment