{% extends "layout.html" %} {% from "macros/filter_form.html" import sidefilter %} {% block content %}
{% if not is_popup %}

{{- title }}

{% block after_title %}{% endblock %} {% block buttons %}
{% if allow_add %} Создать {% endif %} {%- for action in stream.actions %} {%- if action.display and not action.for_item and action.action %} {{- action.title -}} {%- endif %} {%- endfor %}
{% endblock %}
{% endif %} {% block common_stream_help %} {% if stream.get_help(env, 'common-info') %}
{{ stream.get_help(env, 'common-info') }}
{% endif %} {% endblock %}
{% block before_tabs %}{% endblock %}
{%- if live_search -%}
{%- endif %}
{{ sidefilter(filter_form, stream.url_for(env)) }}
{% block stream_items %}{% endblock %}
{% endblock %}