Created
June 24, 2011 19:58
-
-
Save patrickarlt/1045549 to your computer and use it in GitHub Desktop.
Error in a form field
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Error in a form field add class error to the field and insert--> | |
<div class="field error"> | |
<label> | |
Name | |
<input name="application[name]" type="text" placeholder="My Cool App" size="20" maxlength="20" value="<%= h @application['name'] %>"> | |
<small> Required. The name of your application.</small> | |
</label> | |
<em class="error">This field is required.</em> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment