djangosnippets.org: Latest snippets posted by ibrahimlawalhttps://djangosnippets.org/users/ibrahimlawal/2012-09-21T09:06:57.894399-05:00ibrahimlawalList all errors in a form +bootstrap highlighting
2012-09-21T09:06:57.894399-05:00ibrahimlawalhttps://djangosnippets.org/snippets/2823/<p>Use this snippet to list all errors in a form. The message will be shown in a boostrap-type alert which can be 'closed' using a dismiss button.</p>
<p>The <strong>field label</strong> and the <strong>error</strong> will be listed.</p>
<p>e.g.</p>
<blockquote>
<ul>
<li>Name: This field is required</li>
<li>Email: Please enter a valid email</li>
</ul>
</blockquote>
Freely redistributable