{% extends "base.html" %} {% import "bootstrap/wtf.html" as wtf %} {% block title %}{{ place.type_name().title() }}: {{ place.name }}{% endblock %} {% block breadcrumbs %} {{ place_breadcrumbs(place) }} {% endblock %} {% block body %}
Kód:{{ place.code or '#' + place.place_id|string }} {% if school %}
RED_IZO:{{ school.red_izo or '–' }}
IČO:{{ school.ico or '–' }}
Ofic. název:{{ school.official_name or '–' }}
Adresa:{{ school.address or '–' }}
Druh školy:{{ "ZŠ" if school.is_zs else "" }} {{ "SŠ" if school.is_ss else "" }} {% else %}
NUTS/LAU:{{ place.nuts or '–' }} {% endif %}
Poznámka:{{ place.note or '–' }}
Skryté:
{{ place.hidden | yes_no }}
{% if can_edit %} Editovat
Přesunout {% endif %} Soutěže {% if school and can_view_school_contestants %} Ocenění {% endif %} Organizátoři {% if g.user.is_admin %} Historie {% endif %}

Vyhledávání míst{% if place.level > 0 %} v této oblasti{% endif %}

{% if search_failed %} {% endif %} {% if search_limited %} {% endif %} {{ wtf.quick_form(search_form, method='GET', form_type='inline', button_map={'submit': 'primary'}) }} {% if found_places %} {% for p in found_places %}
Kód Typ Název
{{ p.get_code() }} {{ p.type_name() }} {{ p.name_or_id() }} {% if p.parent_place.level > 0 %} ({{ p.parent_place.type_name() }} {{ p.parent_place.name_or_id() }}) {% endif %} {% endfor %}
{% endif %} {% if place.can_have_child() %}

Podřízená místa

{% if children %} {% for child in children %}
Kód Typ Název
{{ child.get_code() }} {{ child.type_name() }} {{ child.name_or_id() }} {% endfor %}
{% endif %} {% if can_add_child %} Přidat nové podřízené místo {% endif %} {% endif %} {% endblock %}