{% extends template ~ 'index.twig' %}

{% block head_block %}


    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{% if title is defined %}
            {% if page_title is defined %}
                {{ page_title|raw }} /
            {% endif %}
            {{ title|trim|raw }}
        {% endif %}</title>

    {{ template_header_styles_render() }}

    {{ top_counters|raw }}
{% endblock %}

{% block content %}
    {% if content is defined %}
        {{ content | raw }}
    {% endif %}
{% endblock %}

{% block page_title_block %}
    <div id="page-title">
        <h1 class="page-header text-overflow">{{ page_title }}</h1>

        {{ module('Diamond.DashboardWidget',{'position':'search'}) }}

    </div>
{% endblock %}

{% block logo_block %}
    <div class="navbar-header">
        <a href="/" class="navbar-brand">
            {{ admin_company_title() }}
        </a>
    </div>
{% endblock %}

{% block fotter_block %}

    {{ template_styles_render() }}

    {{ template_scripts_render() }}

    {{ template_script_style() }}


    {% if debug==true %}
        {{ template_debug() }}
    {% endif %}
{% endblock %}