{% extends 'layout.html' %}
{% load i18n %}
{% load humanize %}
{% block title %}{% if book %}{% blocktrans with book_title=book.title %}Edit "{{ book_title }}"{% endblocktrans %}{% else %}{% trans "Add Book" %}{% endif %}{% endblock %}
{% block content %}
{% trans "Added:" %} {{ book.created_date | naturaltime }} {% trans "Updated:" %} {{ book.updated_date | naturaltime }} {% trans "Last edited by:" %} {{ book.last_edited_by.display_name }}
{% if book %}
{% blocktrans with book_title=book.title %}Edit "{{ book.title }}"{% endblocktrans %}
{% else %}
{% trans "Add Book" %}
{% endif %}
{{ form.non_field_errors }}