Created by: ruian
I just add span support for alert error inside form.
Example:
<div class="container">
<div class="row">
<div class="offet2 span8">
<form novalidate class="form-horizontal well" method="post" action="#">
<div class="control-group error">
<label class="required" for="input_text">Title</label>
<div class="controls">
<input type="text" id="input_text" required="required" class="span5" />
</div>
</div>
<div class="alert alert-error controls span5">
<a class="close" data-dismiss="alert">×</a>
<p>This value should not be blank</p>
</div>
<div class="control-group error">
<label class="required" for="textarea">Content</label>
<div class="controls">
<textarea id="textarea" class="span5"></textarea>
</div>
</div>
<div class="alert alert-error controls span5">
<a class="close" data-dismiss="alert">×</a>
<p>This value should not be blank</p>
</div>
<div class="well">
<input type="submit" value="Save" class="btn" />
</div>
</form>
</div>
</div>
</div>
Picture result: