{% extends 'base.html' %} {% load static %} {% load thumbnail %} {# 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 'c_admin/forms/multilang.html' %} {% endwith %} {# main_title #} {% with field='main_title' form=form languages=languages %} {% include 'c_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 }}
{# quality_label #}
{{ form.quality_label }} {{ form.quality_label.errors }}
{# canceled #}
{{ form.canceled }} {{ form.canceled.errors }}
{# moved #}
{{ form.moved }} {{ form.moved.errors }}
{# expohit #}
{{ form.expohit }} {{ form.expohit.errors }}

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

{# description #} {% with field='description' form=form languages=languages %} {% include 'c_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 'c_admin/forms/multilang.html' %} {% endwith %} {# time #} {% with field='time' form=form languages=languages %} {% include 'c_admin/forms/multilang.html' %} {% endwith %}

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

{# currency #}
{{ form.currency }} {{ form.currency.errors }}
{# application_deadline #}
{{ form.application_deadline }} {{ form.application_deadline.errors }}
{# min_stand_size #}
{{ form.min_stand_size }} {{ form.min_stand_size.errors }}
{# price_day #}
{{ form.price_day }} {{ form.price_day.errors }}
{# price_all #}
{{ form.price_all }} {{ form.price_all.errors }}
{# price_day_bar #}
{{ form.price_day_bar }} {{ form.price_day_bar.errors }}
{# price_all_bar #}
{{ form.price_all_bar }} {{ form.price_all_bar.errors }}
{# price_catalog #}
{{ form.price_catalog }} {{ form.price_catalog.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 }}
{# discount #}
{{ form.discount }} {{ form.discount.errors }}
{# discount_description #} {% with field='discount_description' form=form languages=languages %} {% include 'c_admin/forms/multilang.html' %} {% endwith %}

Файлы

{# 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 }} {% thumbnail file.file_path "100x100" as im %} {% endthumbnail %} {{ file.file_name }} {{ file.purpose }}

Участники

{# organiser #}
{{ form.organiser }} {{ form.organiser.errors }}
{# company #}
{{ form.company }} {{ form.company.errors }}

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

{% for timetable in timetables %} {% endfor %}
Программа Начало Конец Спикеры Организатор  
{{ timetable.programe|safe }} {{ timetable.begin|date:"o-m-d H:i" }} {{ timetable.end|date:"o-m-d H:i" }} {{ timetable.speaker }} {{ timetable.timetable_organiser }}
Добавить program

Статистика

{# foundation_year #}
{{ form.foundation_year }} {{ form.foundation_year.errors }}
{# members #}
{{ form.members }} {{ form.members.errors }}
{# visitors #}
{{ form.visitors }} {{ form.visitors.errors }}
{% if formset_statistic.errors %}
{% for form in formset_statistic.forms %} {% for key, value in form.errors.items %}

{{ value }}

{% endfor %} {% endfor %}
{% endif %} {# formset of halls #} {{ formset_statistic.management_form }}
{% for form in formset_statistic.forms %} {% endfor %}
Год Посетители Участники
{{ form.year }} {{ form.visitors }} {{ form.members }} Удалить

Добавить год

Мета данные

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