Commit 800fe0b2 authored by Kroustouris Stauros's avatar Kroustouris Stauros

fix error message

parent 99f17f8c
......@@ -52,9 +52,9 @@
<div class="controls">
<div class="">{{ form.contact }}</div>
<button class="btn btn-small btn-info" id="add_contact"><i class="icon-plus-sign icon-white"></i>Add...</button>
{% if form.errors.contact %}
<div class="alert-danger" > {{ form.contact.errors|join:", " }} </div>
{% endif %}
{% if form.contact.errors %} <div class="alert-danger"> {{ form.contact.errors|join:", " }} </div>
{% endif %} <span class="help-block"> {{ form.contact.help_text }}</span>
<span class="help-block"> {{ form.contact.help_text }}</span>
</div>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment