{% extends "base.html" %} {% load crispy_forms_tags %} {% block title %}Create Book{% endblock %} {% block content %}

Create Book


{% if form.errors and not form.non_field_errors %}

{% if form.errors.items|length > 1 %} Please correct the errors below. {% else %} Please correct the error below. {% endif %}

{% endif %} {% for error in form.non_field_errors %}

{{ error }}

{% endfor %}
{% crispy form form.helper %}
{% endblock %} {% block page_scripts %} {{ block.super }} {% endblock %}