Added form errors to all bootstrap forms

This commit is contained in:
Raphael Michel
2015-10-21 16:32:13 +02:00
parent a2af3db771
commit 9d30f9fc64
12 changed files with 16 additions and 3 deletions

View File

@@ -6,6 +6,7 @@
<h1>{% trans "Question" %}</h1>
<form action="" method="post" class="form-horizontal">
{% csrf_token %}
{% bootstrap_form_errors form %}
<fieldset>
<legend>{% trans "General information" %}</legend>
{% bootstrap_field form.question layout="horizontal" %}