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