{% load static %} {% load i18n %} {% load admin_url %} {% load mastodon %} {% load oauth_token %} {% load truncate %} {% trans 'NiceDB - ' %}{{ title }}
{% include "partial/_navbar.html" %}
{{ book.title }}
{% if book.isbn %}{% trans 'ISBN:' %}{{ book.isbn }}{% endif %}
{% if book.author %}{% trans '作者:' %} {% for author in book.author %} {{ author }} {% endfor %} {% endif %}
{% if book.pub_house %}{% trans '出版社:' %}{{ book.pub_house }}{% endif %}
{%if book.pub_year %}{% trans '出版时间:' %}{{ book.pub_year }}{% trans '年' %}{% if book.pub_month %}{{ book.pub_month }}{% trans '月' %}{% endif %}{% endif %}
{% if book.rating %} {% trans '评分:' %} {{ book.rating }} {% endif %}
{% csrf_token %} {{ form.book }}
{{ form.title.label }}
{{ form.title }}
{{ form.content.label }} {% trans '预览' %}
{{ form.content }}
{% trans '不知道什么是Markdown?可以参考' %}{% trans '这里' %}
{{ form.is_private.label }}{{ form.is_private }}
{{ form.media }}
{% include "partial/_footer.html" %}
{% comment %} {% endcomment %}