Amara styleguide


Field errors

To display field errors:
  • Add the has-error class to the form-group
  • Replace the help text with the error message

Example


 <div class="form-group has-error">
   <label for="inputError1">Email</label>
   <input type="text" id="inputError1" value="email.com">
   <span class="helpBlock">Invalid Email Address</span>
 </div>

Invalid Email Address