Skip to content

Instantly share code, notes, and snippets.

@juristr
Created September 18, 2013 11:58
Show Gist options
  • Save juristr/6608145 to your computer and use it in GitHub Desktop.
Save juristr/6608145 to your computer and use it in GitHub Desktop.
Validation error messages with Bootstrap 3
<div class="col-md-2 form-group has-error">
<label class="mandatory control-label" for="txtResidenceCAP">[lblResidenceCAP]<abbr>(*)</abbr></label>
<input class="form-control" type="text" id="txtResidenceCAP" name="residenceCap" value="38025" placeholder="[phResidenceCAP]">
<span for="txtResidenceCAP" generated="true" class="help-block" style="display: inline;">Value required!</span>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment