{% extends 'base.html' %} {% load static %} {% block title %} Add New Book {% endblock %} {% block content %} {{ form.non_field_errors }} {% for field in form %} {% if field.errors %}
{{ field.label }} has the following errors: