Created
May 16, 2018 10:58
-
-
Save jamesjacobs/6f2536a316204946a0cdccbbc04453d4 to your computer and use it in GitHub Desktop.
Example output of form.text helper with help and error text
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
<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