Removed unnecessary code

parent 3e56c7e3
...@@ -4,16 +4,6 @@ ...@@ -4,16 +4,6 @@
{% block title %}Add Widget User {% endblock %} {% block title %}Add Widget User {% endblock %}
{% block header %}Add a new Widget user:{% endblock %} {% block header %}Add a new Widget user:{% endblock %}
{% block body %} {% block body %}
{{ form.non_field_errors }}
{% for field in form %}
{% if field.errors %}
<ul>
{% for error in field.errors %}
<li>{{ error }}</li>
{% endfor %}
</ul>
{% endif %}
{% endfor %}
<form method = "post"> <form method = "post">
{% csrf_token %} {% csrf_token %}
{% for field in form %} {% for field in form %}
......
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