{% extends 'base.html' %} {% load static %} {# Displays exposition form and file form in modal window #} {% block scripts %} {# selects #} {# datepicker #} {# #} {# #} {# ajax #} {# datetimepicker #} {% endblock %} {% block body %} {# Uses multilang.html template for translated fields #}
{% csrf_token %}
{% if obj_id %} Изменить {% else %} Добавить {% endif %}выставку

Основная информация

{# Hidden inputs uses for comparing with TmpFile objects #} {{ form.key }} {# Hidden input uses in clean method for checking url #} {{ form.exposition_id }} {# name #} {% with field='name' form=form languages=languages %} {% include 'admin/forms/multilang.html' %} {% endwith %} {# main_title #} {% with field='main_title' form=form languages=languages %} {% include 'admin/forms/multilang.html' %} {% endwith %} {# data_begin #}
{{ form.data_begin }} {{ form.data_begin.errors }}
{# data_end #}
{{ form.data_end }} {{ form.data_end.errors }}
{# country #}
{{ form.country }} {{ form.country.errors }}
{# city #}
{{ form.city }} {{ form.city.errors }}
{# place #}
{{ form.place }} {{ form.place.errors }}
{# theme #}
{{ form.theme }} {{ form.theme.errors }}
{# tag #}
{{ form.tag }} {{ form.tag.errors }}

Дополнительная информация

{# description #} {% with field='description' form=form languages=languages %} {% include 'admin/forms/multilang.html' %} {% endwith %} {# periodic #}
{{ form.periodic }} {{ form.periodic.errors }}
{# audience #}
{{ form.audience }} {{ form.audience.errors }}
{# web_page #}
{{ form.web_page }} {{ form.web_page.errors }}
{# products #} {% with field='products' form=form languages=languages %} {% include 'admin/forms/multilang.html' %} {% endwith %} {# time #} {% with field='time' form=form languages=languages %} {% include 'admin/forms/multilang.html' %} {% endwith %} {# foundation_year #}
{{ form.foundation_year }} {{ form.foundation_year.errors }}

Условия участия

{# currency #}
{{ form.currency }} {{ form.currency.errors }}
{# tax #}
{{ form.tax }} {{ form.tax.errors }}
{# min_closed_area #}
{{ form.min_closed_area }} {{ form.min_closed_area.errors }}
{# max_closed_area #}
{{ form.max_closed_area }} {{ form.max_closed_area.errors }}
{# min_closed_equipped_area #}
{{ form.min_closed_equipped_area }} {{ form.min_closed_equipped_area.errors }}
{# max_closed_equipped_area #}
{{ form.max_closed_equipped_area }} {{ form.max_closed_equipped_area.errors }}
{# min_open_area #}
{{ form.min_open_area }} {{ form.min_open_area.errors }}
{# max_open_area #}
{{ form.max_open_area }} {{ form.max_open_area.errors }}
{# min_area #}
{{ form.min_area }} {{ form.min_area.errors }}
{# registration_payment #}
{{ form.registration_payment }} {{ form.registration_payment.errors }}

Файлы

{# button that shows modal window with file form #} Добавить файл {# this div shows list of files and refreshes when new file added #}
{% for file in files %} {% endfor %}
id Файл Имя Назначение
{{ file.id }} {{ file.file_name }} {{ file.purpose }}
{% if obj_id %}

Участники

{# organiser #}
{{ form.organiser }} {{ form.organiser.errors }}
{# company #}
{{ form.company }} {{ form.company.errors }}
{# users #}
{{ form.users }} {{ form.users.errors }}
{% endif %}

Деловая программа

{# formset of halls #} {{ formset.management_form }}
{% for item in formset.forms %} {% endfor %}
Начало Конец Название
{{ item.begin }} {{ item.end }} {{ item.name_ru }} Удалить

Добавить Время

Мета данные

{# keywords #} {% with field='keywords' form=form languages=languages %} {% include 'admin/forms/multilang.html' %} {% endwith %} {# title #} {% with field='title' form=form languages=languages %} {% include 'admin/forms/multilang.html' %} {% endwith %} {# descriptions #} {% with field='descriptions' form=form languages=languages %} {% include 'admin/forms/multilang.html' %} {% endwith %}
{# modal window #} {% endblock %}