{% extends template('modal') %}

{% block pModalTitle %}
	{% 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 %}
	{% if form.title is defined %}
		{{ form.title|raw }}
	{% endif %}
{% endblock %}

{% block pModalBody %}
    {% include template(sMode, 'Combodo\\iTop\\Portal\\Controller\\ObjectController') with {tIsModal: true} %}
{% endblock %}