Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesjacobs/6f2536a316204946a0cdccbbc04453d4 to your computer and use it in GitHub Desktop.
Save jamesjacobs/6f2536a316204946a0cdccbbc04453d4 to your computer and use it in GitHub Desktop.
Example output of form.text helper with help and error text
<div class="form__group has-error">
<label for="name" class="control__label">Name</label>
<div class="controls">
<input id="name" name="name" type="text" class="form__control">
<span class="help-block is-error">
<i aria-hidden="true" class="icon-warning-sign"></i>
Please enter your full name
</span>
<span class="help-block">
Your full name, including any middle names
</span>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment