{% extends 'c_admin/base.html' %} {% load static %} {% load thumbnail %} {% block styles %} .hover{ display:none; margin-bottom:10px; } .photo:hover .hover { display: block; } {% endblock %} {% block scripts %} {# selects #} {% endblock %} {% block body %}
{% csrf_token %}
{% if object %} Изменить {% else %} Добавить {% endif %}выставку{% if object %}(на сайте){% 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 }}
{# place_alt #}
{{ form.place_alt }} {{ form.place_alt.errors }}
{# theme #}
{{ form.theme }} {{ form.theme.errors }}
{# tag #}
{{ form.tag }} {{ form.tag.errors }}
{# logo #}
{{ form.logo }} {{ form.logo.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 }}
{# organiser #}
{{ form.org }} {{ form.org.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 #} {% include 'c_admin/forms/multilang.html' with field='price_day' form=form languages=languages %} {# price_all #} {% include 'c_admin/forms/multilang.html' with field='price_all' form=form languages=languages %} {# pre_condition #} {% include 'c_admin/forms/multilang.html' with field='pre_condition' form=form languages=languages %} {# price_day_bar #} {% include 'c_admin/forms/multilang.html' with field='price_day_bar' form=form languages=languages %} {# price_all_bar #} {% include 'c_admin/forms/multilang.html' with field='price_all_bar' form=form languages=languages %} {# stand_condition #} {% include 'c_admin/forms/multilang.html' with field='stand_condition' form=form languages=languages %} {# price_catalog #}
{{ form.price_catalog }} {{ form.price_catalog.errors }}
{# tax #}
{{ form.tax }} {{ form.tax.errors }}
{% include 'c_admin/forms/multilang.html' with field='visit_note' form=form languages=languages %} {# 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 }}
{# registration_link #}
{{ form.registration_link }} {{ form.registration_link.errors }}
{% include 'c_admin/forms/multilang.html' with field='participation_note' form=form languages=languages %} {# discount #}
{{ form.discount }} {{ form.discount.errors }}
{# discount_description #} {% with field='discount_description' form=form languages=languages %} {% include 'c_admin/forms/multilang.html' %} {% endwith %} {% include 'c_admin/forms/multilang.html' with field='stat_countries' form=form languages=languages %}

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

{% if object %}
{% for timetable in timetables %} {% endfor %}
Программа Начало Конец Организатор Место  
{{ timetable.name|safe }} {{ timetable.begin|date:"o-m-d H:i" }} {{ timetable.end|date:"o-m-d H:i" }} {{ timetable.speaker }} {{ timetable.place }}
Добавить program {% else %}

Деловую программу можно добавлять только после введения основных данных

{% endif %}

Статистика

{# foundation_year #}
{{ form.foundation_year }} {{ form.foundation_year.errors }}
{# area #}
{{ form.area }} {{ form.area.errors }}
{# members #}
{{ form.members }} {{ form.members.errors }}
{# visitors #}
{{ form.visitors }} {{ form.visitors.errors }}
{% if object %}
{% for stat in object.statistic.all %} {% endfor %}
Год Посетители Участники Площадь
{{ stat.year }} {{ stat.visitors }} {{ stat.members }} {{ stat.area }} Удалить
Добавить год
{% endif %}
{% include 'c_admin/includes/filegallery.html' with object=object model='exposition.Exposition' %} {% include 'c_admin/includes/photogallery.html' with object=object %}

Мета данные

{# 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 %}
{% include 'c_admin/includes/stat_form.html' with form=stat_form object=object %} {% endblock %}