{% extends base %} {% from 'macro.html' import breadcrumbs with context %} {% block content %}
{{- breadcrumbs([[url_for('author.info'), 'Кабинет автора']]) }}
{% include 'includes/story_control_buttons.html' %}

{{ page_title }}

{% if story_add %} {{ html_block('story_add') }} {% endif %} {% if saved %}
Изменения сохранены
{% endif %}
Параметры рассказа
{{ form.title.label(class_='control-label') }}
{{ form.title }} {% if form.title.errors %} {% for error in form.title.errors %} {{ error }} {% endfor %} {% else %} {{ form.title.description }} {% endif %}
{{ form.categories.label(class_='control-label', for=False) }}
{% if form.categories.errors %} {% for error in form.categories.errors %} {{ error }} {% endfor %} {% else %} {{ form.categories.description }} {% endif %} {{ form.categories }}
{{ form.characters.label(class_='control-label', for=False) }}
{% if form.characters.errors %} {% for error in form.characters.errors %} {{ error }} {% endfor %} {% else %} {{ form.characters.description }} {% endif %} {{ form.characters }}
{{ form.summary.label(class_='control-label') }}
{{ form.summary }} {% if form.summary.errors %} {% for error in form.summary.errors %} {{ error }} {% endfor %} {% else %} {{ form.summary.description }} {% endif %}
{{ form.notes.label(class_='control-label', for='id_notes') }}
{{ form.notes }} {% if form.notes.errors %} {% for error in form.notes.errors %} {{ error }} {% endfor %} {% else %} {{ form.notes.description }} {% endif %}
{{ form.source_link.label(class_='control-label') }}
{{ form.source_link }} {% if form.source_link.errors %} {% for error in form.source_link.errors %} {{ error }} {% endfor %} {% else %} {{ form.source_link.description }} {% endif %}
{{ form.source_title.label(class_='control-label') }}
{{ form.source_title }} {% if form.source_title.errors %} {% for error in form.source_title.errors %} {{ error }} {% endfor %} {% else %} {{ form.source_title.description }} {% endif %}
{{ form.rating.label(class_='control-label', for=False) }}
{{ form.rating }} {% if form.rating.errors %} {% for error in form.rating.errors %} {{ error }} {% endfor %} {% else %} {{ form.rating.description }} {% endif %}
{{ form.original.label(class_='control-label', for=False) }}
{{ form.original }} {% if form.original.errors %} {% for error in form.original.errors %} {{ error }} {% endfor %} {% else %} {{ form.original.description }} {% endif %}
{{ form.freezed.label(class_='control-label', for=False) }}
{{ form.freezed }} {% if form.freezed.errors %} {% for error in form.freezed.errors %} {{ error }} {% endfor %} {% else %} {{ form.freezed.description }} {% endif %}
{{ form.finished.label(class_='control-label', for=False) }}
{{ form.finished }} {% if form.finished.errors %} {% for error in form.finished.errors %} {{ error }} {% endfor %} {% else %} {{ form.finished.description }} {% endif %}
{{ form.classifications.label(class_='control-label', for=False) }}
{% if form.classifications.errors %} {% for error in form.classifications.errors %} {{ error }} {% endfor %} {% else %} {{ form.classifications.description }} {% endif %} {{ form.classifications }}
{% if story_edit %} {% else %} {% endif %}
{% if story_edit %} {% if story.bl.can_edit_contributors(current_user) %} {%- include 'includes/story_edit_contributors_form.html' with context %} {% endif %}
Главы
{% endif %}
{{- breadcrumbs([[url_for('author.info'), 'Кабинет автора']]) }}
{% endblock %}