{% csrf_token %} {{ form.non_field_errors }} {% for field in form %} {{field.label_tag}} {{field}} {% if field.errors %}{{field.errors}}{% endif %} {% endfor %} {% for object in notebook_list %} {{object.name}} {%endfor%}