{% extends template('page', 'Combodo\\iTop\\Portal\\Brick\\AbstractBrick') %}

{% block pPageBodyClass %}{{ parent() }} page_object_brick page_object_brick_as_{{ sMode }}{% endblock %}

{% block pMainHeader %}
	<div id="ipb-page--main-header--information">
		{% if form.title is defined %}
            <div class="ipb-page--main-header--information--title">
                {% if form.title_clipboard_text is defined %}
                    <i class="url-to-clipboard url-to-clipboard-icon fas fa-link fa-xs"
                       data-clipboard-text="{{ form.title_clipboard_text }}"
                       data-toggle="tooltip"
                       data-tooltip-content="{{ 'Brick:Portal:Object:Copy:Tooltip' | dict_s }}"
                       data-tooltip-html-enabled="true"
                       data-copied-title="{{ 'Brick:Portal:Object:Copy:CopiedTooltip' | dict_s }}"
                       data-copied-icon="fas fa-check">
                    </i>
                {% endif %}
			    <span>{{ form.title|raw }}</span><span>{% if form.title_complement %}{{ form.title_complement|raw }}{% endif %}</span>
            </div>
		{% endif %}
	</div>
{% endblock %}

{% block pMainContentHolder%}
	<div class="ipb-panel panel panel-default">
		<div class="panel-body">
			{% include template(sMode, 'Combodo\\iTop\\Portal\\Controller\\ObjectController') %}
		</div>
	</div>
{% endblock %}