{% load widget_tweaks %} {{ student_form.non_field_errors }}
{% csrf_token %} {% if user_form %} {{ user_form.errors }} {% for user in user_form %} {% render_field user class="form-control" %} {% endfor %} {% endif %} {% for stu in student_form %} {% if stu.name == "name" %}
{% elif stu.name == "father_job" %}
{% endif %}
{% render_field stu class="form-control" %}
{% if stu.name == "mother_job" %}
{% elif stu.name == "has_relationship" %}
{% endif %} {% for error in stu.errors %}
{{ error }}
{% endfor %} {% endfor %}